{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/cdp/Dropbox/Research/GRACE post NTR Work/Latino pops article/revival/PV JOP MMD replication files/GRACE_replication_files/CDPhillips Replication Log JOP 07282022.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}28 Jul 2022, 15:58:51

{com}. do "/var/folders/dq/l4lkn3855zz962npl3z1vm180000gn/T//SD55685.000000"
{txt}
{com}. **************************************************
. **************************************************
. ********** Generate all Tables & Figures **********
. **************************************************
. **************************************************
. 
. version 14
{txt}
{com}. clear
{txt}
{com}. 
{txt}end of do-file

{com}. do "/var/folders/dq/l4lkn3855zz962npl3z1vm180000gn/T//SD55685.000000"
{txt}
{com}. set more off
{txt}
{com}. * turn on pause to allow users to inspect output of each do file in loop
. * press q in command prompt to continue execution
. pause on
{txt}
{com}. 
. 
. local table_fig_list "table_1.do" "table_2.do" "table_3.do" "table_4.do" "table_5.do" "figure_1.do" "table_A1_1.do" "table_A2.do" "figure_A3_1.do" "figure_A4.do" "table_A5_CVAP.do" "table_A7_1.do" "table_A7_2.do" "table_A7_3.do" "table_A8.do" "figure_A9_1.do"    
{txt}
{com}. 
. * loop through each of the files
. foreach filename of local table_fig_list {c -(}
{txt}  2{com}.   do "do_files/`filename'"
{txt}  3{com}. {c )-}
{txt}
{com}. **************************************************
. ************ Table 1: Frequency of State *********
. ************ Legislative Candidacy in Majority ***
. ************ Minority Districts ******************
. **************************************************
. 
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
{res}{err}Got filename: , loading GRACE data set and replacing existing data set
{com}.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
{res}{err}running GRACE data prep do file
{com}.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. 
. * NOTE: Using individual level data
. quietly estpost tabstat (basket_latw) if ballot_mmd==1 & (basket_latw == 1) & mod(v05,2) == 0 , by(v05)  stat(count) listwise columns(variables) nototal
{txt}
{com}. mat latw_counts = e(basket_latw)
{txt}
{com}. 
. quietly estpost tabstat (basket_latm) if ballot_mmd==1 & (basket_latm == 1) & mod(v05,2) == 0 , by(v05)  stat(count) listwise columns(variables) nototal
{txt}
{com}. mat latm_counts = e(basket_latm)
{txt}
{com}.  
. mat combined_counts = latw_counts \ latm_counts \ (latm_counts - latw_counts)
{txt}
{com}. mat rownames combined_counts = "Latinas" "Latinos" "Difference"
{txt}
{com}. 
. esttab matrix(combined_counts)
{res}
{txt}{hline 142}
{txt}             combined_c~s                                                                                                                     
{txt}                     1996         1998         2000         2002         2004         2006         2008         2010         2012         2014
{txt}{hline 142}
{txt}Latinas     {res}           51           45           47           62           70           58           62           72           79           85{txt}
{txt}Latinos     {res}          121          129          131          171          156          158          167          172          215          196{txt}
{txt}Difference  {res}           70           84           84          109           86          100          105          100          136          111{txt}
{txt}{hline 142}

{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. 
{txt}end of do-file

{com}. **************************************************
. ********* Table 2: Replacement and Maintenance****
. ********* of Latinas and Latinos in MMD Seats ****
. ********* Legislative Candidacy in Majority ******
. ********* Minority Districts *********************
. **************************************************
. 
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
{res}{err}already ran replication prep, continuing with the rest of the file
{com}. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. * Need this line to get reproducible results based on bysort
. set sortseed 1234
{txt}
{com}. 
. * generate a variable that indicates whether a latino or latina was the previous winner 
. * this only works for single member districts, the whole idea of "replacement" doesn't work the same way for multimember districts 
. * first create variable that identifies each unique seat
. egen seats_2021 = group(v03 v07 v09 v08 v10a v10b v10c), missing
{txt}
{com}. 
. * then id whether a latina or latino or both have ever won that seat in the  period from 1996-2015. Also count the number of total wins.
. gen latm_winner=1 if basket_latm==1 & v24==1
{txt}(109,355 missing values generated)

{com}. egen seats_2021latm = total(latm_winner), by(seats_2021)
{txt}
{com}. 
. gen latw_winner=1 if basket_latw==1 & v24==1
{txt}(110,263 missing values generated)

{com}. egen seats_2021latw = total(latw_winner), by(seats_2021)
{txt}
{com}. 
. * this needed for the next step where we generate the MMD seat transitions
. order seats_2021 v03 v07 v08 v09 latw_winner latm_winner v05
{txt}
{com}.  
. * individual level variable capturing change/no change in winner from one category to another
. bysort seats_2021: gen latinatolatino=1 if (latm_winner - latw_winner[_n-1])==0
{txt}(110,885 missing values generated)

{com}. replace latinatolatino=0 if latinatolatino==.
{txt}(110,885 real changes made)

{com}. 
. bysort seats_2021:gen latinotolatina=1 if (latw_winner - latm_winner[_n-1])==0
{txt}(110,880 missing values generated)

{com}. replace latinotolatina=0 if latinotolatina==.
{txt}(110,880 real changes made)

{com}. 
. bysort seats_2021:gen latinotolatino=1 if (latm_winner - latm_winner[_n-1])==0
{txt}(110,440 missing values generated)

{com}. replace latinotolatino=0 if latinotolatino==.
{txt}(110,440 real changes made)

{com}. 
. bysort seats_2021:gen latinatolatina=1 if (latw_winner - latw_winner[_n-1])==0
{txt}(110,783 missing values generated)

{com}. replace latinatolatina=0 if latinatolatina==.
{txt}(110,783 real changes made)

{com}. 
. *create a variable to indicate change from one unique latino to another, and same for latinas
. bysort seats_2021:gen uniq_latinotolatino=1 if (latm_winner - latm_winner[_n-1])==0 & (graceuniqid - graceuniqid[_n-1])!=0
{txt}(110,758 missing values generated)

{com}. replace uniq_latinotolatino=0 if uniq_latinotolatino==.
{txt}(110,758 real changes made)

{com}. 
. bysort seats_2021:gen uniq_latinatolatina=1 if (latw_winner - latw_winner[_n-1])==0 & (graceuniqid - graceuniqid[_n-1])!=0
{txt}(110,916 missing values generated)

{com}. replace uniq_latinatolatina=0 if uniq_latinatolatina==.
{txt}(110,916 real changes made)

{com}. 
. egen uniq_latinotolatino_total = total(uniq_latinotolatino), by(seats_2021)
{txt}
{com}. egen uniq_latinatolatina_total = total(uniq_latinatolatina), by(seats_2021)
{txt}
{com}. 
. * Calculate values for table 2 and store them in matrices
. 
. * latw -> latm
. quietly estpost tabstat latinatolatino if v12==1 & postred2000 == 1 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat latinatolatino_2000 = e(sum)'
{txt}
{com}. 
. quietly estpost tabstat latinatolatino if v12==1 & postred2010 == 1 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat latinatolatino_2010 = e(sum)'
{txt}
{com}. 
. quietly estpost tabstat latinatolatino if v12==1 & postred2000 == 0 & postred2010 == 0 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat latinatolatino_other = e(sum)'
{txt}
{com}. 
. quietly estpost tabstat latinatolatino if v12==1 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat latinatolatino_total = e(sum)'
{txt}
{com}. 
. mat combined_latinatolatino = latinatolatino_2000 \ latinatolatino_2010 \ latinatolatino_other \ latinatolatino_total
{txt}
{com}. 
. matrix list combined_latinatolatino
{res}
{txt}combined_latinatolatino[4,1]
              sum
latinatola~o {res}   9
{txt}latinatola~o {res}   6
{txt}latinatola~o {res}  35
{txt}latinatola~o {res}  50
{reset}
{com}. 
. * latm -> latw
. quietly estpost tabstat latinotolatina if v12==1 & postred2000 == 1 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat latinotolatina_2000 = e(sum)'
{txt}
{com}. 
. quietly estpost tabstat latinotolatina if v12==1 & postred2010 == 1 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat latinotolatina_2010 = e(sum)'
{txt}
{com}. 
. quietly estpost tabstat latinotolatina if v12==1 & postred2000 == 0 & postred2010 == 0 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat latinotolatina_other = e(sum)'
{txt}
{com}. 
. quietly estpost tabstat latinotolatina if v12==1 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat latinotolatina_total = e(sum)'
{txt}
{com}. 
. mat combined_latinotolatina = latinotolatina_2000 \ latinotolatina_2010 \ latinotolatina_other \ latinotolatina_total
{txt}
{com}. 
. matrix list combined_latinotolatina
{res}
{txt}combined_latinotolatina[4,1]
              sum
latinotola~a {res}   3
{txt}latinotola~a {res}   5
{txt}latinotola~a {res}  44
{txt}latinotola~a {res}  52
{reset}
{com}. 
. * latw -> latw
. quietly estpost tabstat uniq_latinatolatina if v12==1 & postred2000 == 1 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat uniq_latinatolatina_2000 = e(sum)'
{txt}
{com}. 
. quietly estpost tabstat uniq_latinatolatina if v12==1 & postred2010 == 1 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat uniq_latinatolatina_2010 = e(sum)'
{txt}
{com}. 
. quietly estpost tabstat uniq_latinatolatina if v12==1 & postred2000 == 0 & postred2010 == 0 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat uniq_latinatolatina_other = e(sum)'
{txt}
{com}. 
. quietly estpost tabstat uniq_latinatolatina if v12==1 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat uniq_latinatolatina_total = e(sum)'
{txt}
{com}. 
. mat combined_uniq_latinatolatina = uniq_latinatolatina_2000 \ uniq_latinatolatina_2010 \ uniq_latinatolatina_other \ uniq_latinatolatina_total
{txt}
{com}. 
. matrix list combined_uniq_latinatolatina
{res}
{txt}combined_uniq_latinatolatina[4,1]
              sum
uniq_latin~a {res}   2
{txt}uniq_latin~a {res}   2
{txt}uniq_latin~a {res}  19
{txt}uniq_latin~a {res}  23
{reset}
{com}. 
. * latm -> latm
. quietly estpost tabstat uniq_latinotolatino if v12==1 & postred2000 == 1 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat uniq_latinotolatino_2000 = e(sum)'
{txt}
{com}. 
. quietly estpost tabstat uniq_latinotolatino if v12==1 & postred2010 == 1 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat uniq_latinotolatino_2010 = e(sum)'
{txt}
{com}. 
. quietly estpost tabstat uniq_latinotolatino if v12==1 & postred2000 == 0 & postred2010 == 0 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat uniq_latinotolatino_other = e(sum)'
{txt}
{com}. 
. quietly estpost tabstat uniq_latinotolatino if v12==1 & ballot_mmd == 1, stat(sum)
{txt}
{com}. mat uniq_latinotolatino_total = e(sum)'
{txt}
{com}. 
. mat combined_uniq_latinotolatino = uniq_latinotolatino_2000 \ uniq_latinotolatino_2010 \ uniq_latinotolatino_other \ uniq_latinotolatino_total
{txt}
{com}. 
. matrix list combined_uniq_latinotolatino
{res}
{txt}combined_uniq_latinotolatino[4,1]
              sum
uniq_latin~o {res}  13
{txt}uniq_latin~o {res}  19
{txt}uniq_latin~o {res} 137
{txt}uniq_latin~o {res} 169
{reset}
{com}. 
. 
. * Pull results into one table
. mat table_2_full_results = combined_latinatolatino, combined_latinotolatina, combined_uniq_latinatolatina, combined_uniq_latinotolatino
{txt}
{com}. mat rownames table_2_full_results = "Post-Redistricting (2000)" "Post-Redistricting (2010)" "All Other Years" "Total"
{txt}
{com}. mat colnames table_2_full_results = "Latw-> Latm" "Latm -> Latw" "Latw -> Latw" "Latm -> Latm"
{txt}
{com}. 
. esttab matrix(table_2_full_results)
{res}
{txt}{hline 64}
{txt}             table_2_fu~s                                       
{txt}              Latw-> Latm Latm -> Latw Latw -> Latw Latm -> Latm
{txt}{hline 64}
{txt}Post-R~2000){res}            9            3            2           13{txt}
{txt}Post-R~2010){res}            6            5            2           19{txt}
{txt}All Other ~s{res}           35           44           19          137{txt}
{txt}Total       {res}           50           52           23          169{txt}
{txt}{hline 64}

{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. 
{txt}end of do-file

{com}. **************************************************
. ********* Table 3: Likelihood of Non-Incumbent ***
. ********* Presence on General Election Ballot ****
. **************************************************
. 
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
{res}{err}already ran replication prep, continuing with the rest of the file
{com}. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. do "do_files/prep_GRACE_data/ballot_level_prep.do"
{txt}
{com}. * here we check whether we have already run the code for generating the ballot level data
. * we do this by looking for the ballot_latwpres variable
. capture confirm variable ballot_latwpres
{txt}
{com}. if _rc {c -(}
.     di in red "running ballot level prep do file"
{res}{err}running ballot level prep do file
{com}.     quietly do "do_files/prep_GRACE_data/generate_ballot_level_data.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran ballot level prep do file, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. * Also Appendix A3 in the appendix (full results report)
. * NOTE: data collapsed to ballot level 
. 
. * all districts model weights
. cem latpoppct (1        2       3       4       5       6       7       8       9       10      11      12      13      14      15      16      17      18      19      20      21      22      23      24      25      26      27      28      29      30      31      32      33      34      35      36      37      38      39      40      41      42      43      44      45      46      47      48      49      50      51      52      53      54      55      56      57      58      59      60      61      62      63      64      65      66      67      68      69      70      71      72      73      74      75      76      77      78      79      80      81      82      83      84      85      86      87      88      89      90      91      92      93      94      95      96      97      98      99      100) demvoteshareballot_2020, treatment(ballot_latallpres)
{res}
{txt}Matching Summary:
-----------------
Number of strata: {res}16
{txt}Number of matched strata: {res}16

           {txt}    0      1
      All  {res}54699   3112
{txt}  Matched  {res}54699   3112
{txt}Unmatched  {res}    0      0


{txt}Multivariate L1 distance: {res}.66420912

{txt}Univariate imbalance:

                              L1     mean      min      25%      50%      75%      max
              latpoppct  {res} .59183   .33628        0   .12486   .40234   .56045   .12757
{txt}demvoteshareballot_2020  {res} .02958   .00065        0  -.00014   .00272  -.00402        0
{txt}
{com}. 
. rename cem_weights all_districts_cem_weights
{res}{txt}
{com}. 
. * MMD only model weights
. 
. cem latpoppct (1        2       3       4       5       6       7       8       9       10      11      12      13      14      15      16      17      18      19      20      21      22      23      24      25      26      27      28      29      30      31      32      33      34      35      36      37      38      39      40      41      42      43      44      45      46      47      48      49      50      51      52      53      54      55      56      57      58      59      60      61      62      63      64      65      66      67      68      69      70      71      72      73      74      75      76      77      78      79      80      81      82      83      84      85      86      87      88      89      90      91      92      93      94      95      96      97      98      99      100) demvoteshareballot_2020 if majpocpop == 1, treat(ballot_latallpres) 
{txt}(using the scott break method for imbalance)
{res}
{txt}Matching Summary:
-----------------
Number of strata: {res}14
{txt}Number of matched strata: {res}13

           {txt}   0     1
      All  {res}7792  1969
{txt}  Matched  {res}7787  1969
{txt}Unmatched  {res}   5     0


{txt}Multivariate L1 distance: {res}.72368033

{txt}Univariate imbalance:

                              L1     mean      min      25%      50%      75%      max
              latpoppct  {res} .69603   .41597      .01    .4407   .50731   .46156   .12757
{txt}demvoteshareballot_2020  {res}  .0258   .00035        0  -.00136   .00281        0        0
{txt}
{com}. 
. rename cem_weights mmd_only_cem_weights
{res}{txt}
{com}. 
. * MMD only model weights with latino majority district observations excluded
. cem latpoppct (1        2       3       4       5       6       7       8       9       10      11      12      13      14      15      16      17      18      19      20      21      22      23      24      25      26      27      28      29      30      31      32      33      34      35      36      37      38      39      40      41      42      43      44      45      46      47      48      49      50      51      52      53      54      55      56      57      58      59      60      61      62      63      64      65      66      67      68      69      70      71      72      73      74      75      76      77      78      79      80      81      82      83      84      85      86      87      88      89      90      91      92      93      94      95      96       97     98      99      100) demvoteshareballot_2020 if latmaj!=1 & majpocpop == 1 , treat(ballot_latallpres)
{txt}(using the scott break method for imbalance)
{res}
{txt}Matching Summary:
-----------------
Number of strata: {res}13
{txt}Number of matched strata: {res}12

           {txt}   0     1
      All  {res}7391   566
{txt}  Matched  {res}7384   566
{txt}Unmatched  {res}   7     0


{txt}Multivariate L1 distance: {res}.59160324

{txt}Univariate imbalance:

                              L1     mean      min      25%      50%      75%      max
              latpoppct  {res} .50366   .17409      .01   .19043    .2567    .1994        0
{txt}demvoteshareballot_2020  {res} .04888  1.3e-05        0   .00127   .00313   .00535        0
{txt}
{com}. rename cem_weights mmd_exclude_latmaj_cem_weights
{res}{txt}
{com}. 
. 
. * All districts model: Latina
. 
. eststo, title(Latina): quietly probit ballot_newlatwpres  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct [iweight=all_districts_cem_weights]
{txt}({res}est1{txt} stored)

{com}. 
. * All districts model: Latino
. eststo, title(Latino): quietly probit ballot_newlatmpres  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct [iweight=all_districts_cem_weights]
{txt}({res}est2{txt} stored)

{com}. 
. * MMD only model: Latina
. eststo, title(Latina): quietly probit ballot_newlatwpres  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct [iweight=mmd_only_cem_weights]
{txt}({res}est3{txt} stored)

{com}. 
. * MMD only model: Latino
. eststo, title(Latino): quietly probit ballot_newlatmpres  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct [iweight=mmd_only_cem_weights]
{txt}({res}est4{txt} stored)

{com}. 
. * MMD model with Latino MMDs excluded: Latina
. eststo, title(Latina): quietly probit ballot_newlatwpres  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct [iweight=mmd_exclude_latmaj_cem_weights]
{txt}({res}est5{txt} stored)

{com}. 
. * MMD model with Latino MMDs excluded: Latino
. eststo, title(Latino): quietly probit ballot_newlatmpres  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct [iweight=mmd_exclude_latmaj_cem_weights]
{txt}({res}est6{txt} stored)

{com}. 
. 
. estout, cells(b(star fmt(3)) se(par fmt(2))) legend label varlabels(_cons Constant) stats(N, fmt(0)) mgroups("Any District" "MMDs" "MMDs, Excluding Latino Majority Districts", pattern(1 0 1 0 1 0))
{res}
{txt}{hline 116}
{txt}                     Any District                            MMDs                    MMDs, Excl~                    
{txt}                           Latina          Latino          Latina          Latino          Latina          Latino   
{txt}                             b/se            b/se            b/se            b/se            b/se            b/se   
{txt}{hline 116}
{res}main                                                                                                                {txt}
{txt}(max) afampoppct    {res}        0.028          -0.085          -0.233           0.106          -0.087           0.207   {txt}
                    {res}       (0.16)          (0.11)          (0.30)          (0.23)          (0.36)          (0.26)   {txt}
{txt}(max) asampoppct    {res}        0.327           0.310           0.229           0.355           0.349           0.780*  {txt}
                    {res}       (0.29)          (0.20)          (0.43)          (0.31)          (0.47)          (0.33)   {txt}
{txt}(max) latpoppct     {res}        2.403***        2.804***        2.203***        3.052***        2.368***        2.810***{txt}
                    {res}       (0.12)          (0.09)          (0.23)          (0.18)          (0.44)          (0.32)   {txt}
{txt}(max) tlimit        {res}        0.204***        0.093**         0.196*         -0.148*          0.248*         -0.053   {txt}
                    {res}       (0.05)          (0.03)          (0.08)          (0.07)          (0.11)          (0.09)   {txt}
{txt}(max) legprof       {res}        0.125           0.147          -0.058           0.310           0.222          -0.120   {txt}
                    {res}       (0.14)          (0.10)          (0.22)          (0.17)          (0.31)          (0.24)   {txt}
{txt}(max) distrepubstr  {res}        0.491***        0.608***       -0.113           0.255*         -0.325          -0.372   {txt}
                    {res}       (0.09)          (0.06)          (0.16)          (0.12)          (0.25)          (0.20)   {txt}
{txt}(max) openelect     {res}        0.518***        0.490***        0.771***        0.850***        0.493***        0.401***{txt}
                    {res}       (0.04)          (0.03)          (0.07)          (0.05)          (0.09)          (0.07)   {txt}
{txt}(max) multimem      {res}        0.236***       -0.038           0.175          -0.087           0.401*          0.062   {txt}
                    {res}       (0.07)          (0.06)          (0.14)          (0.12)          (0.17)          (0.14)   {txt}
{txt}(sum) candidate_du~y{res}        0.145***        0.206***        0.314***        0.430***        0.138**         0.297***{txt}
                    {res}       (0.02)          (0.01)          (0.04)          (0.03)          (0.05)          (0.04)   {txt}
{txt}(max) allincfmt     {res}        0.005***        0.002*          0.003          -0.001           0.002           0.002   {txt}
                    {res}       (0.00)          (0.00)          (0.00)          (0.00)          (0.00)          (0.00)   {txt}
{txt}(max) educcolldeg   {res}       -0.371          -0.234          -0.617          -0.073          -0.315          -0.641   {txt}
                    {res}       (0.20)          (0.14)          (0.39)          (0.29)          (0.54)          (0.39)   {txt}
{txt}(max) unemppct      {res}       -0.005          -0.008*         -0.014*         -0.015**        -0.018          -0.008   {txt}
                    {res}       (0.00)          (0.00)          (0.01)          (0.00)          (0.01)          (0.01)   {txt}
{txt}stateyear_inclatpct {res}        0.382           0.687***       -0.062           0.316           0.427           0.995** {txt}
                    {res}       (0.22)          (0.15)          (0.29)          (0.21)          (0.47)          (0.33)   {txt}
{txt}Constant            {res}       -3.596***       -3.173***       -3.651***       -3.727***       -3.487***       -3.435***{txt}
                    {res}       (0.10)          (0.07)          (0.25)          (0.19)          (0.30)          (0.23)   {txt}
{txt}{hline 116}
{txt}N                   {res}        56351           56351            9657            9657            7872            7872   {txt}
{txt}{hline 116}
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. 
. * clear eststo for displaying future tables
. eststo clear
{txt}
{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. 
{txt}end of do-file

{com}. **************************************************
. ********* Table 4 and Appendix A4: Likelihood of
. ********* Ballot Presence, ***********************
. ********* Post-2000 and Post-2010 ****************
. ********* Redistricting Ballots ******************
. **************************************************
. 
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
{res}{err}Got filename: , loading GRACE data set and replacing existing data set
{com}.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
{res}{err}running GRACE data prep do file
{com}.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. do "do_files/prep_GRACE_data/ballot_level_prep.do"
{txt}
{com}. * here we check whether we have already run the code for generating the ballot level data
. * we do this by looking for the ballot_latwpres variable
. capture confirm variable ballot_latwpres
{txt}
{com}. if _rc {c -(}
.     di in red "running ballot level prep do file"
{res}{err}running ballot level prep do file
{com}.     quietly do "do_files/prep_GRACE_data/generate_ballot_level_data.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran ballot level prep do file, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. * state level variables
. egen stateyear_latpoppct = mean(latpoppct), by(stateyear)
{txt}
{com}. 
. * generate latpop_cat variable to capture mean dist latpoppct for a given state/year
. gen latpop_cat=1 if stateyear_latpoppct<=.1
{txt}(17,276 missing values generated)

{com}. replace latpop_cat=2 if stateyear_latpoppct>=.100001 & stateyear_latpoppct<=.2
{txt}(11,299 real changes made)

{com}. 
. replace latpop_cat=3 if  stateyear_latpoppct>=.200001
{txt}(5,977 real changes made)

{com}. replace latpop_cat=0 if latpop_cat==.
{txt}(0 real changes made)

{com}. 
. * main redistricting period model to report out for tables
. eststo, title(Latina): quietly probit ballot_latwpres openmmdproportion  latpop_cat postred2010 latpoppct afampoppct asampoppct    tlimit  legprof  distrepubstr    multimem  candperseat allincfmt educcolldeg unemppct if postred2010==1  | postred2000==1 
{txt}({res}est1{txt} stored)

{com}. 
. eststo, title(Latino): quietly probit ballot_latmpres openmmdproportion  latpop_cat postred2010  latpoppct afampoppct asampoppct     tlimit  legprof  distrepubstr    multimem  candperseat allincfmt educcolldeg unemppct if postred2010==1  | postred2000==1 
{txt}({res}est2{txt} stored)

{com}. 
. estout, cells(b(star fmt(3)) se(par fmt(2))) legend label varlabels(_cons constant) stats( N, fmt(0) label(N))
{res}
{txt}{hline 52}
{txt}                           Latina          Latino   
{txt}                             b/se            b/se   
{txt}{hline 52}
{res}main                                                {txt}
{txt}openmmdproportion   {res}       -0.072           0.378*  {txt}
                    {res}       (0.21)          (0.16)   {txt}
{txt}latpop_cat          {res}        0.054           0.066   {txt}
                    {res}       (0.07)          (0.05)   {txt}
{txt}(max) postred2010   {res}        0.061           0.220*  {txt}
                    {res}       (0.14)          (0.11)   {txt}
{txt}(max) latpoppct     {res}        3.011***        3.715***{txt}
                    {res}       (0.22)          (0.18)   {txt}
{txt}(max) afampoppct    {res}       -0.266          -0.433*  {txt}
                    {res}       (0.29)          (0.22)   {txt}
{txt}(max) asampoppct    {res}        1.357**        -0.318   {txt}
                    {res}       (0.51)          (0.47)   {txt}
{txt}(max) tlimit        {res}        0.064           0.034   {txt}
                    {res}       (0.08)          (0.06)   {txt}
{txt}(max) legprof       {res}        0.117           0.091   {txt}
                    {res}       (0.24)          (0.19)   {txt}
{txt}(max) distrepubstr  {res}       -0.356**        -0.397***{txt}
                    {res}       (0.14)          (0.11)   {txt}
{txt}(max) multimem      {res}        0.277*         -0.133   {txt}
                    {res}       (0.11)          (0.11)   {txt}
{txt}(sum) candidate_du~y{res}        0.126***        0.185***{txt}
                    {res}       (0.03)          (0.02)   {txt}
{txt}(max) allincfmt     {res}        0.003           0.000   {txt}
                    {res}       (0.00)          (0.00)   {txt}
{txt}(max) educcolldeg   {res}       -0.112           0.600   {txt}
                    {res}       (0.45)          (0.34)   {txt}
{txt}(max) unemppct      {res}       -0.002          -0.001   {txt}
                    {res}       (0.02)          (0.01)   {txt}
{txt}constant            {res}       -3.345***       -3.322***{txt}
                    {res}       (0.22)          (0.17)   {txt}
{txt}{hline 52}
{txt}N                   {res}        12698           12698   {txt}
{txt}{hline 52}
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. 
. * clear eststo for displaying future tables
. eststo clear
{txt}
{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. 
{txt}end of do-file

{com}. **************************************************
. ********* Table 5 and Table A9.1: Ballot presence*
. ********* in MMDs pre and post redistricting *****
. ********* 2000 and 2010 **************************
. **************************************************
. 
. * Used for calculating the unique counts of ballots_2021
. ssc install unique
{txt}checking {hilite:unique} consistency and verifying not already installed...
all files already exist and are up to date.

{com}. 
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
{res}{err}Got filename: , loading GRACE data set and replacing existing data set
{com}.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
{res}{err}running GRACE data prep do file
{com}.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. 
. unique ballots_2021 if redistrictinground==1 & ballot_mmd==1
{txt}Number of unique values of ballots_2021 is  {res}933
{txt}Number of records is  {res}1560
{txt}
{com}. scalar mmd_pre_2000 = r(unique)
{txt}
{com}. unique ballots_2021 if redistrictinground==2 & ballot_mmd==1
{txt}Number of unique values of ballots_2021 is  {res}1192
{txt}Number of records is  {res}2133
{txt}
{com}. scalar mmd_post_2000 = r(unique)
{txt}
{com}. unique ballots_2021 if redistrictinground==3 & ballot_mmd==1
{txt}Number of unique values of ballots_2021 is  {res}1136
{txt}Number of records is  {res}1966
{txt}
{com}. scalar mmd_pre_2010 = r(unique)
{txt}
{com}. unique ballots_2021 if redistrictinground==4 & ballot_mmd==1
{txt}Number of unique values of ballots_2021 is  {res}1272
{txt}Number of records is  {res}2143
{txt}
{com}. scalar mmd_post_2010 = r(unique)
{txt}
{com}. 
. scalar mmd_2000_pct_change = (mmd_post_2000 - mmd_pre_2000) / mmd_pre_2000
{txt}
{com}. scalar mmd_2010_pct_change = (mmd_post_2010 - mmd_pre_2010) / mmd_pre_2010
{txt}
{com}. 
. mat mmd = mmd_pre_2000, mmd_post_2000, mmd_2000_pct_change, mmd_pre_2010, mmd_post_2010, mmd_2010_pct_change
{txt}
{com}. 
. 
. * Gives the values for calculating pct change MMD ballot presence
. quietly tab redistrictinground if ballot_mmd==1 & basket_latw == 1, matcell(latw_freq)
{txt}
{com}. scalar latw_2000_pct_change = (latw_freq[2,1] - latw_freq[1,1])/ latw_freq[1,1]
{txt}
{com}. scalar latw_2010_pct_change = (latw_freq[4,1] - latw_freq[3,1])/ latw_freq[3,1]
{txt}
{com}. mat latw = (latw_freq[1..2,1] \ latw_2000_pct_change \ latw_freq[3..4,1] \ latw_2010_pct_change)'
{txt}
{com}. 
. quietly tab redistrictinground if ballot_mmd==1 & basket_latm == 1, matcell(latm_freq)
{txt}
{com}. scalar latm_2000_pct_change = (latm_freq[2,1] - latm_freq[1,1])/ latm_freq[1,1]
{txt}
{com}. scalar latm_2010_pct_change = (latm_freq[4,1] - latm_freq[3,1])/ latm_freq[3,1]
{txt}
{com}. mat latm = (latm_freq[1..2,1] \ latm_2000_pct_change \ latm_freq[3..4,1] \ latm_2010_pct_change)'
{txt}
{com}. 
. 
. mat table_5 = latw \ latm \ mmd
{txt}
{com}. 
. mat rownames table_5 = "Latinas" "Latinos" "MMD Ballots"
{txt}
{com}. mat colnames table_5 = "Pre2000" "Post2000" "Pct Change 2000" "Pre2010" "Post2010" "Pct Change 2010"
{txt}
{com}. 
. esttab matrix(table_5)
{res}
{txt}{hline 90}
{txt}                  table_5                                                                 
{txt}                  Pre2000     Post2000 Pct Cha~2000      Pre2010     Post2010 Pct Cha~2010
{txt}{hline 90}
{txt}Latinas     {res}           49           72     .4693878           81           94     .1604938{txt}
{txt}Latinos     {res}          144          188     .3055556          166          240     .4457831{txt}
{txt}MMD Ballots {res}          933         1192     .2775991         1136         1272     .1197183{txt}
{txt}{hline 90}

{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. 
{txt}end of do-file

{com}. **************************************************
. ********* Figure 1: Probability of Ballot Presence
. ********* and Latina/o Proportion of Population: * 
. ********* 1996-2015 ******************************
. **************************************************
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
{res}{err}already ran replication prep, continuing with the rest of the file
{com}. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. preserve
{txt}
{com}. 
. gen pipe = "|"
{txt}
{com}. gen where = -0.3
{txt}
{com}. 
. twoway (lpolyci basket_latw latpoppct if v12==1, clpattern(dash) fintensity(20)) (lpolyci basket_latm latpoppct if v12==1 , fintensity(20))(scatter where latpoppct if taglatreppop==1 & tagRlatpoppct==1,m(i) ml( pipe) mlabpos(0) mlabsize(small)), ytitle("Probability of Ballot Presence") ytitle(, size(medium)) ylabel(0(.2).8) xtitle(Average Latina/o Proportion of Population) xtitle(, size(medium)) title(, size(medium)) legend(order(2 "Latinas" 4 "Latinos"))
{res}{txt}
{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
{txt}end of do-file

{com}. **************************************************
. ********* Table A1.1: Observed Number of *********
. ********* Non-Winning Candidate Comparisons ******
. **************************************************
. 
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
{res}{err}already ran replication prep, continuing with the rest of the file
{com}. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. mat non_win = J(2,1,0)
{txt}
{com}. 
. preserve
{txt}
{com}. 
. * Need this line to get reproducible results based on bysort
. set sortseed 1234
{txt}
{com}. 
. by graceuniqid, sort: egen newgraceuniqidwin = max(v24)
{txt}
{com}. drop if basket_lat!=1
{txt}(107,405 observations deleted)

{com}. duplicates drop graceuniqid, force

{p 0 4}{txt}Duplicates in terms of {res} graceuniqid{p_end}

{txt}(1,811 observations deleted)

{com}. 
. 
. * Number of non-winning Latina/o Candidates 2000 in GRACE
. quietly count if newgraceuniqidwin == 0 & v05==2000 & basket_lat == 1
{txt}
{com}. mat non_win[1,1] = r(N)
{txt}
{com}. 
. * Number of non-winning Latina/o Candidates 2010 in GRACE
. quietly count if newgraceuniqidwin == 0 & v05==2010 & basket_lat == 1
{txt}
{com}. mat non_win[2,1] = r(N)
{txt}
{com}. 
. mat rownames non_win = "(2000) # nonwinning Latina/o" "(2010) # nonwinning Latina/o"
{txt}
{com}. mat colnames non_win = "GRACE"
{txt}
{com}. mat list non_win
{res}
{txt}non_win[2,1]
              GRACE
(2000) # n~o {res}    75
{txt}(2010) # n~o {res}   103
{reset}
{com}. 
. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. 
{txt}end of do-file

{com}. **************************************************
. ********* Table A2: Descriptive Statistics of All*
. ********* State Legislative General Elections,****
. ********* 1996-2015 ******************************
. **************************************************
. 
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
{res}{err}already ran replication prep, continuing with the rest of the file
{com}. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. do "do_files/prep_GRACE_data/ballot_level_prep.do"
{txt}
{com}. * here we check whether we have already run the code for generating the ballot level data
. * we do this by looking for the ballot_latwpres variable
. capture confirm variable ballot_latwpres
{txt}
{com}. if _rc {c -(}
.     di in red "running ballot level prep do file"
{res}{err}running ballot level prep do file
{com}.     quietly do "do_files/prep_GRACE_data/generate_ballot_level_data.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran ballot level prep do file, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. quietly unique ballots_2021
{txt}
{com}. local distinct_elections = r(N)
{txt}
{com}. 
. 
. mat election_winners = J(8,3,0)
{txt}
{com}. 
. local j = 1
{txt}
{com}. local i = 1
{txt}
{com}. 
. local basket_list b_afamwwinner b_afammwinner b_asamwwinner b_asammwinner b_latwwinner b_latmwinner b_whwwinner b_whmwinner
{txt}
{com}. 
. foreach basket of local basket_list{c -(}
{txt}  2{com}.     quietly count if `basket' == 1
{txt}  3{com}.     mat election_winners[`j', `i'] = r(N) / `distinct_elections'
{txt}  4{com}.     if `i' == 2 {c -(}
{txt}  5{com}.         mat election_winners[`j', 3] = election_winners[`j', 1] + election_winners[`j', 2]
{txt}  6{com}.         local i = 1
{txt}  7{com}.         local `j++'
{txt}  8{com}.     {c )-}
{txt}  9{com}.     else {c -(}
{txt} 10{com}.         local `i++'
{txt} 11{com}.     {c )-}
{txt} 12{com}.     if `j' == 5{c -(}
{txt} 13{com}.         mat col_sum_tmp = J(1,8,1)
{txt} 14{com}.         mat col_sums =  col_sum_tmp * election_winners
{txt} 15{com}.         mat election_winners[`j',1] = col_sums[1,1]
{txt} 16{com}.         mat election_winners[`j',2] = col_sums[1,2]
{txt} 17{com}.     {c )-}
{txt} 18{com}. {c )-} 
{txt}
{com}. 
. // Note sure which variables to use to count these
. 
. quietly count if repind_win == 1 & woman_win==1
{txt}
{com}. mat election_winners[6, 1] = r(N) / `distinct_elections'
{txt}
{com}. count if repind_win == 1 & woman_win==0
  {res}22,532
{txt}
{com}. mat election_winners[6, 2] = r(N) / `distinct_elections'
{txt}
{com}. mat election_winners[6, 3] = election_winners[6, 1] + election_winners[6, 2]
{txt}
{com}. 
. quietly count if inc_win == 1 & woman_win==1
{txt}
{com}. mat election_winners[7, 1] = r(N) / `distinct_elections'
{txt}
{com}. count if inc_win == 1 & woman_win==0
  {res}31,856
{txt}
{com}. mat election_winners[7, 2] = r(N) / `distinct_elections'
{txt}
{com}. mat election_winners[7, 3] = election_winners[7, 1] + election_winners[7, 2]
{txt}
{com}. 
. quietly count if inc_win == 0 & woman_win==1
{txt}
{com}. mat election_winners[8, 1] = r(N) / `distinct_elections'
{txt}
{com}. count if inc_win == 0 & woman_win==0
  {res}10,255
{txt}
{com}. mat election_winners[8, 2] = r(N) / `distinct_elections'
{txt}
{com}. mat election_winners[8, 3] = election_winners[8, 1] + election_winners[8, 2]
{txt}
{com}. 
. mat rownames election_winners = "African American" "Asian American" "Latina/o" "White" "Total" "Republican or Independent" "Incumbent" "Challenger"
{txt}
{com}. mat colnames election_winners = "Women" "Men" "Total"
{txt}
{com}. mat list election_winners
{res}
{txt}election_winners[8,3]
                  Women        Men      Total
African Am~n {res} .02997699  .05012887  .08010586
{txt}Asian Amer~n {res} .00446282  .01010188   .0145647
{txt}    Latina/o {res} .01179706  .02733044   .0391275
{txt}       White {res} .22615073  .67206933  .89822006
{txt}       Total {res} .27238761  .75963052          0
{txt}Republican~t {res}  .1112764  .38975282  .50102922
{txt}   Incumbent {res} .20513397    .551037  .75617097
{txt}  Challenger {res} .06644064  .17738839  .24382903
{reset}
{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. mat election_char_table = J(7,1,0)
{txt}
{com}. local i = 1
{txt}
{com}. // count if v07 == 8
. local election_characteristics v07 allincfmt openelect multimem unemppct educcolldeg demvoteshareballot_2020
{txt}
{com}. foreach characteristic of local election_characteristics {c -(}
{txt}  2{com}.     if "`characteristic'" == "v07"{c -(}
{txt}  3{com}.         quietly count if v07 == 8
{txt}  4{com}.         mat election_char_table[`i', 1] = r(N) / `distinct_elections'
{txt}  5{com}.     {c )-} 
{txt}  6{com}.     else {c -(}
{txt}  7{com}.         quietly sum `characteristic'
{txt}  8{com}.         mat election_char_table[`i', 1] = r(mean)
{txt}  9{com}.     {c )-}
{txt} 10{com}.     local `i++'
{txt} 11{com}. {c )-}
{txt}
{com}. 
. mat rownames election_char_table = "Upper Chamber" "Income (10k)" "Open Seat" " Multi-Member District"  "Unemployment" "Percent College Education" "Democratic Vote Share"
{txt}
{com}. mat colnames election_char_table = "Means"
{txt}
{com}. mat list election_char_table
{res}
{txt}election_char_table[7,1]
                  Means
Upper Cham~r {res} .21051357
{txt} Income(10k) {res} 51.576512
{txt}   Open Seat {res} .20611994
{txt}Multi-Memb~t {res} .08923907
{txt}Unemployment {res} 3.8608943
{txt}Percent Co~n {res} .33573445
{txt}Democratic~e {res} .48268982
{reset}
{com}. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. mat repind_share_wins = J(4,4,0)
{txt}
{com}. local i = 1
{txt}
{com}. local j = 1
{txt}
{com}. // summarize by group for getting repind_win 
. foreach basket of local basket_list{c -(}
{txt}  2{com}.     quietly count if `basket' == 1
{txt}  3{com}.     local total_wins = r(N)
{txt}  4{com}.     quietly count if `basket' == 1 & repind_win == 1
{txt}  5{com}.     if mod(`i', 2) != 0{c -(}
{txt}  6{com}.         mat repind_share_wins[`i', `j'] = r(N) / `total_wins'
{txt}  7{com}.         mat repind_share_wins[`i', `j'+2] = `total_wins'
{txt}  8{com}.     {c )-}
{txt}  9{com}.     else{c -(}
{txt} 10{com}.         mat repind_share_wins[`i', `j'] = r(N) / `total_wins'
{txt} 11{com}.         mat repind_share_wins[`i', `j'+2] = `total_wins'
{txt} 12{com}.         
.     {c )-}
{txt} 13{com}.     if `j' == 2{c -(}
{txt} 14{com}.         local `j--'
{txt} 15{com}.         local `i++'
{txt} 16{com}.     {c )-} 
{txt} 17{com}.     else {c -(}
{txt} 18{com}.         local `j++'
{txt} 19{com}.     {c )-}
{txt} 20{com}.     
.     
.     
. {c )-}
{txt}
{com}. 
. mat rownames repind_share_wins = "African American" "Asian American" "Latina/o" "White"
{txt}
{com}. mat colnames repind_share_wins = "Women" "Men" "Women Total # Wins" "Men Total # Wins"
{txt}
{com}. mat list repind_share_wins
{res}
{txt}repind_share_wins[4,4]
                     Women           Men  Women Tota~s  Men Total ~s
African Am~n {res}    .02654357     .02380952          1733          2898
{txt}Asian Amer~n {res}    .25193798     .16438356           258           584
{txt}    Latina/o {res}    .15835777     .21835443           682          1580
{txt}       White {res}    .47628882     .59315883         13074         38853
{reset}
{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. 
{txt}end of do-file

{com}. **************************************************
. ********* Fig A3.1: *******************************
. **************************************************
. 
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
{res}{err}Got filename: , loading GRACE data set and replacing existing data set
{com}.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
{res}{err}running GRACE data prep do file
{com}.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. do "do_files/prep_GRACE_data/ballot_level_prep.do"
{txt}
{com}. * here we check whether we have already run the code for generating the ballot level data
. * we do this by looking for the ballot_latwpres variable
. capture confirm variable ballot_latwpres
{txt}
{com}. if _rc {c -(}
.     di in red "running ballot level prep do file"
{res}{err}running ballot level prep do file
{com}.     quietly do "do_files/prep_GRACE_data/generate_ballot_level_data.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran ballot level prep do file, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. * attempt to drop variables that will be used in the analysis and catch the errors if these variables do not yet exist
. local list b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 counter predlawb predlamb counterm lbd2 ubd2 lbd3 ubd3
{txt}
{com}. foreach var of local list {c -(}
{txt}  2{com}.     capture drop `var'
{txt}  3{com}.     if _rc {c -(} 
{txt}  4{com}.         di in red "Note: failed to drop `var'" 
{txt}  5{com}.     {c )-} 
{txt}  6{com}. {c )-}
{err}Note: failed to drop b1
Note: failed to drop b2
Note: failed to drop b3
Note: failed to drop b4
Note: failed to drop b5
Note: failed to drop b6
Note: failed to drop b7
Note: failed to drop b8
Note: failed to drop b9
Note: failed to drop b10
Note: failed to drop b11
Note: failed to drop b12
Note: failed to drop b13
Note: failed to drop b14
Note: failed to drop counter
Note: failed to drop predlawb
Note: failed to drop predlamb
Note: failed to drop counterm
Note: failed to drop lbd2
Note: failed to drop ubd2
Note: failed to drop lbd3
Note: failed to drop ubd3
{txt}
{com}. 
. cem latpoppct (1        2       3       4       5       6       7       8       9       10      11      12      13      14      15      16      17      18      19      20      21      22      23      24      25      26      27      28      29      30      31      32      33      34      35      36      37      38      39      40      41      42      43      44      45      46      47      48      49      50      51      52      53      54      55      56      57      58      59      60      61      62      63      64      65      66      67      68      69      70      71      72      73      74      75      76      77      78      79      80      81      82      83      84      85      86      87      88      89      90      91      92      93      94      95      96      97      98      99      100) demvoteshareballot_2020, treat(ballot_latallpres)
{res}
{txt}Matching Summary:
-----------------
Number of strata: {res}16
{txt}Number of matched strata: {res}16

           {txt}    0      1
      All  {res}54699   3112
{txt}  Matched  {res}54699   3112
{txt}Unmatched  {res}    0      0


{txt}Multivariate L1 distance: {res}.66420912

{txt}Univariate imbalance:

                              L1     mean      min      25%      50%      75%      max
              latpoppct  {res} .59183   .33628        0   .12486   .40234   .56045   .12757
{txt}demvoteshareballot_2020  {res} .02958   .00065        0  -.00014   .00272  -.00402        0
{txt}
{com}. 
. estsimp probit ballot_newlatwpres  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct [iweight=cem_weights]

{txt}Iteration 0:   log likelihood = {res}-2685.8388
{txt}Iteration 1:   log likelihood = {res}-2177.3723
{txt}Iteration 2:   log likelihood = {res}-2039.0773
{txt}Iteration 3:   log likelihood = {res}-2032.9347
{txt}Iteration 4:   log likelihood = {res}-2032.8876
{txt}Iteration 5:   log likelihood = {res}-2032.8876

{txt}Probit regression                                 Number of obs   = {res}     55965
                                                  {txt}LR chi2({res}13{txt})     = {res}   1305.90
                                                  {txt}Prob > chi2     = {res}    0.0000
{txt}Log likelihood = {res}-2032.8876                       {txt}Pseudo R2       = {res}    0.2431

{txt}{hline 13}{c TT}{hline 64}
ba~wlatwpres {c |}      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
{hline 13}{c +}{hline 64}
  afampoppct {c |}  {res} .0282889   .1612773     0.18   0.861    -.2878089    .3443866
  {txt}asampoppct {c |}  {res}  .326661   .2853574     1.14   0.252    -.2326293    .8859513
   {txt}latpoppct {c |}  {res} 2.402981   .1161076    20.70   0.000     2.175414    2.630548
      {txt}tlimit {c |}  {res} .2037999   .0466092     4.37   0.000     .1124477    .2951522
     {txt}legprof {c |}  {res} .1253435    .137556     0.91   0.362    -.1442613    .3949483
{txt}distrepubstr {c |}  {res}  .491488     .09051     5.43   0.000     .3140917    .6688844
   {txt}openelect {c |}  {res} .5184231   .0424434    12.21   0.000     .4352356    .6016107
    {txt}multimem {c |}  {res} .2362006       .071     3.33   0.001     .0970431     .375358
 {txt}candperseat {c |}  {res} .1450057   .0153228     9.46   0.000     .1149736    .1750378
   {txt}allincfmt {c |}  {res} .0054476   .0014527     3.75   0.000     .0026002    .0082949
 {txt}educcolldeg {c |}  {res}-.3710485   .2023977    -1.83   0.067    -.7677408    .0256438
    {txt}unemppct {c |}  {res}-.0053382   .0045122    -1.18   0.237    -.0141818    .0035055
{txt}stateye~tpct {c |}  {res}  .381545   .2169786     1.76   0.079    -.0437253    .8068152
       {txt}_cons {c |}  {res}-3.596422   .0975298   -36.88   0.000    -3.787577   -3.405267
{txt}{hline 13}{c BT}{hline 64}

{res}Simulating main parameters.  Please wait....
% of simulations completed: 7% 14% 21% 28% 35% 42% 50% 57% 64% 71% 78% 85% 92% 100% 

Number of simulations  : 1000
Names of new variables : b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14
{txt}
{com}. gen counter=_n-1
{txt}
{com}. gen predlawb=.
{txt}(57,811 missing values generated)

{com}. gen lbd2=.
{txt}(57,811 missing values generated)

{com}. gen ubd2=.
{txt}(57,811 missing values generated)

{com}. setx mean
{txt}
{com}. setx multimem 0 openelect 1 
{txt}
{com}. set more 1
{txt}
{com}. forvalues i=1(1)100 {c -(}
{txt}  2{com}. setx stateyear_inclatpct `i'/100
{txt}  3{com}. simqi, genpr(p1 p2)
{txt}  4{com}. sum p2
{txt}  5{com}. replace predlawb=r(mean) if counter==`i'
{txt}  6{com}. _pctile p2, p(2.5 97.5)
{txt}  7{com}. display r(r1)
{txt}  8{com}. display r(r2)
{txt}  9{com}. replace lbd2=r(r1) if counter==`i'
{txt} 10{com}. replace ubd2=r(r2) if counter==`i'
{txt} 11{com}. drop p1 p2
{txt} 12{com}. {c )-}

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0079287    .0008088    .005826   .0105912
{txt}(1 real change made)
.00639027
.00956527
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0080093    .0008087   .0058845   .0107289
{txt}(1 real change made)
.00647174
.00966956
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0080908    .0008112   .0059374   .0108836
{txt}(1 real change made)
.0065669
.00975913
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0081733    .0008166   .0059908   .0110402
{txt}(1 real change made)
.00664357
.00988066
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0082567     .000825   .0060446   .0111988
{txt}(1 real change made)
.00670106
.01000177
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0083412    .0008364   .0060988   .0113594
{txt}(1 real change made)
.00676007
.01010626
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0084267    .0008508   .0061535   .0115373
{txt}(1 real change made)
.00681741
.01021763
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0085133    .0008682   .0062085   .0117181
{txt}(1 real change made)
.00689415
.01034977
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0086008    .0008887   .0062641   .0119013
{txt}(1 real change made)
.00696599
.01049201
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0086894    .0009122     .00632    .012087
{txt}(1 real change made)
.00701451
.01062779
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0087791    .0009386   .0063764   .0122752
{txt}(1 real change made)
.00706191
.01079193
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0088699    .0009679   .0064001    .012466
{txt}(1 real change made)
.00710379
.01099861
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0089617    .0009999   .0063892   .0126593
{txt}(1 real change made)
.00713583
.01113809
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0090546    .0010346   .0063784   .0128552
{txt}(1 real change made)
.00718167
.01130388
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0091487     .001072   .0063676   .0130537
{txt}(1 real change made)
.00720324
.011467
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0092438    .0011117   .0063568   .0132549
{txt}(1 real change made)
.00725001
.01166687
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0093401    .0011539    .006346   .0134587
{txt}(1 real change made)
.00725056
.0118011
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0094375    .0011984   .0063352   .0136653
{txt}(1 real change made)
.00725745
.01198764
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0095361    .0012452   .0063227   .0138745
{txt}(1 real change made)
.00725666
.01218113
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0096359    .0012941   .0062912   .0140865
{txt}(1 real change made)
.00724181
.01234847
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0097368    .0013451   .0062599   .0143016
{txt}(1 real change made)
.00722256
.01253731
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0098389    .0013981   .0062286   .0145528
{txt}(1 real change made)
.00721888
.01279251
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0099423     .001453   .0061975   .0148078
{txt}(1 real change made)
.00720696
.01300476
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0100468    .0015099   .0061666   .0150666
{txt}(1 real change made)
.0072307
.01323661
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0101526    .0015686   .0061357   .0153293
{txt}(1 real change made)
.00723675
.01349366
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0102596    .0016292   .0061051   .0155959
{txt}(1 real change made)
.00727104
.01378203
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0103679    .0016916   .0060745   .0158665
{txt}(1 real change made)
.00728972
.01408054
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0104775    .0017557   .0060441    .016141
{txt}(1 real change made)
.0072791
.0143617
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0105883    .0018216   .0060138   .0164197
{txt}(1 real change made)
.00729882
.01461703
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0107005    .0018892   .0059837   .0167259
{txt}(1 real change made)
.00729448
.01487868
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0108139    .0019585   .0059537   .0170791
{txt}(1 real change made)
.00727684
.0151593
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0109287    .0020294   .0059238   .0174386
{txt}(1 real change made)
.00726837
.01542246
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0110448    .0021021   .0058941   .0178046
{txt}(1 real change made)
.00725991
.01565523
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0111623    .0021764   .0058644   .0181771
{txt}(1 real change made)
.00726077
.01593687
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0112811    .0022523    .005835   .0185562
{txt}(1 real change made)
.00723846
.01620259
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0114013      .00233   .0058056    .018942
{txt}(1 real change made)
.00723297
.01646464
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0115229    .0024092   .0057764   .0193347
{txt}(1 real change made)
.00722122
.01674765
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0116459    .0024902   .0057473   .0197342
{txt}(1 real change made)
.00720411
.01706448
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0117703    .0025728   .0057184   .0201407
{txt}(1 real change made)
.00718704
.01739258
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0118962     .002657   .0056895   .0205675
{txt}(1 real change made)
.00716587
.01772605
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0120235    .0027429   .0056608   .0210094
{txt}(1 real change made)
.00716345
.01806496
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0121523    .0028305   .0056323   .0214593
{txt}(1 real change made)
.0071611
.01839965
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0122825    .0029198   .0056038    .021925
{txt}(1 real change made)
.00715076
.01875244
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0124143    .0030107   .0055755   .0224351
{txt}(1 real change made)
.00713704
.01910481
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0125475    .0031034   .0055473   .0229551
{txt}(1 real change made)
.00713513
.0194227
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0126823    .0031977   .0055193   .0234853
{txt}(1 real change made)
.00713253
.01974508
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0128186    .0032938   .0054913   .0240257
{txt}(1 real change made)
.00712067
.0200773
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0129565    .0033916   .0054635   .0245766
{txt}(1 real change made)
.00710029
.02042383
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0130959    .0034912   .0054359    .025138
{txt}(1 real change made)
.00708887
.02080187
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0132369    .0035925   .0054083   .0257101
{txt}(1 real change made)
.00707938
.02119286
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0133795    .0036956   .0053809    .026293
{txt}(1 real change made)
.00706991
.02159005
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0135237    .0038005   .0053536    .026887
{txt}(1 real change made)
.00706045
.02199352
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0136695    .0039072   .0053264   .0274921
{txt}(1 real change made)
.00703962
.02240334
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .013817    .0040157   .0052993   .0281086
{txt}(1 real change made)
.00702403
.02281959
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0139662    .0041261   .0052724   .0287365
{txt}(1 real change made)
.00701211
.02324711
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .014117    .0042383   .0052456    .029376
{txt}(1 real change made)
.00699586
.02368495
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0142695    .0043524   .0052189   .0300273
{txt}(1 real change made)
.00698327
.02411381
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0144237    .0044684   .0051923   .0306906
{txt}(1 real change made)
.00697072
.02450733
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0145796    .0045863   .0051658   .0313659
{txt}(1 real change made)
.00695819
.02496907
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0147373    .0047061   .0051395   .0320535
{txt}(1 real change made)
.00694568
.02543119
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0148967    .0048279   .0051133   .0327534
{txt}(1 real change made)
.00693443
.02587976
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0150579    .0049516   .0050872   .0334659
{txt}(1 real change made)
.00692361
.02633014
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0152209    .0050774   .0050612   .0341911
{txt}(1 real change made)
.00691281
.02679072
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0153856    .0052051   .0050353   .0349292
{txt}(1 real change made)
.00690202
.0272703
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0155522    .0053349   .0050096   .0356803
{txt}(1 real change made)
.00689125
.02775703
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0157207    .0054668    .004984   .0364447
{txt}(1 real change made)
.0068805
.02825098
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0158909    .0056007   .0049585   .0372223
{txt}(1 real change made)
.00686977
.02873332
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0160631    .0057367   .0049331   .0380135
{txt}(1 real change made)
.00685869
.02924007
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0162371    .0058748   .0049078   .0388183
{txt}(1 real change made)
.00683827
.02975444
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .016413     .006015   .0048826    .039637
{txt}(1 real change made)
.0068179
.03027632
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0165908    .0061575   .0048576   .0404696
{txt}(1 real change made)
.0067976
.03080579
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0167706    .0063021   .0048327   .0413164
{txt}(1 real change made)
.00677735
.03134292
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0169523    .0064488   .0048078   .0421775
{txt}(1 real change made)
.00675716
.0318878
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .017136    .0065979   .0047831    .043053
{txt}(1 real change made)
.00673702
.0324405
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0173216    .0067491   .0047526   .0439432
{txt}(1 real change made)
.00671694
.0330011
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0175093    .0069027   .0047094   .0448481
{txt}(1 real change made)
.00669692
.03356969
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0176989    .0070585   .0046664    .045768
{txt}(1 real change made)
.00667695
.03416253
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0178906    .0072166   .0046239    .046703
{txt}(1 real change made)
.00665704
.03477051
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0180844    .0073771   .0045817   .0476533
{txt}(1 real change made)
.00663719
.03538735
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0182802      .00754   .0045398    .048619
{txt}(1 real change made)
.00661739
.03601313
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0184781    .0077052   .0044983   .0496003
{txt}(1 real change made)
.00659765
.03664634
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0186781    .0078728   .0044571   .0505973
{txt}(1 real change made)
.00657797
.03726452
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0188802    .0080429   .0044162   .0516102
{txt}(1 real change made)
.00655834
.0378912
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0190845    .0082154   .0043757   .0526392
{txt}(1 real change made)
.00653876
.03852646
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0192909    .0083904   .0043355   .0536844
{txt}(1 real change made)
.00652017
.03917038
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0194994     .008568   .0042956    .054746
{txt}(1 real change made)
.00650432
.03982304
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0197102     .008748   .0042561    .055824
{txt}(1 real change made)
.0064885
.04048451
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0199232    .0089306   .0042169   .0569188
{txt}(1 real change made)
.00647272
.04115488
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0201384    .0091157    .004178   .0580304
{txt}(1 real change made)
.00645697
.04183423
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0203558    .0093035   .0041395    .059159
{txt}(1 real change made)
.00644125
.04252265
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0205755    .0094939   .0041012   .0603047
{txt}(1 real change made)
.00642681
.0432202
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0207974    .0096869   .0040633   .0614678
{txt}(1 real change made)
.00641701
.04392697
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0210217    .0098826   .0040257   .0626482
{txt}(1 real change made)
.00640723
.04464304
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0212482    .0100809   .0039884   .0638463
{txt}(1 real change made)
.00639746
.0453563
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0214771     .010282   .0039514   .0650621
{txt}(1 real change made)
.00638771
.04607405
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0217083    .0104859   .0039147   .0662958
{txt}(1 real change made)
.00637797
.04680559
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0219419    .0106925   .0038783   .0675476
{txt}(1 real change made)
.00636825
.04757149
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0221779    .0109019   .0038423   .0688175
{txt}(1 real change made)
.00635855
.04838126
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0224163    .0111141   .0038065   .0701058
{txt}(1 real change made)
.00634886
.04913738
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .022657    .0113291    .003771   .0714125
{txt}(1 real change made)
.00633918
.04992257
(1 real change made)
(1 real change made)

{com}. drop b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14
{txt}
{com}. estsimp probit ballot_newlatmpres  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct [iweight=cem_weights]

{txt}Iteration 0:   log likelihood = {res}-5931.1435
{txt}Iteration 1:   log likelihood = {res}-4494.2823
{txt}Iteration 2:   log likelihood = {res}-4327.6416
{txt}Iteration 3:   log likelihood = {res}-4321.4719
{txt}Iteration 4:   log likelihood = {res}-4321.4438
{txt}Iteration 5:   log likelihood = {res}-4321.4438

{txt}Probit regression                                 Number of obs   = {res}     55965
                                                  {txt}LR chi2({res}13{txt})     = {res}   3219.40
                                                  {txt}Prob > chi2     = {res}    0.0000
{txt}Log likelihood = {res}-4321.4438                       {txt}Pseudo R2       = {res}    0.2714

{txt}{hline 13}{c TT}{hline 64}
ba~wlatmpres {c |}      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
{hline 13}{c +}{hline 64}
  afampoppct {c |}  {res}-.0849773   .1110246    -0.77   0.444    -.3025816    .1326269
  {txt}asampoppct {c |}  {res} .3098659   .1960402     1.58   0.114    -.0743659    .6940977
   {txt}latpoppct {c |}  {res} 2.803702    .086515    32.41   0.000     2.634136    2.973268
      {txt}tlimit {c |}  {res} .0933806   .0337792     2.76   0.006     .0271746    .1595865
     {txt}legprof {c |}  {res} .1471743   .0986009     1.49   0.136      -.04608    .3404285
{txt}distrepubstr {c |}  {res} .6079365   .0643602     9.45   0.000     .4817929    .7340801
   {txt}openelect {c |}  {res} .4900177   .0308099    15.90   0.000     .4296315    .5504039
    {txt}multimem {c |}  {res} -.037638   .0568542    -0.66   0.508    -.1490703    .0737942
 {txt}candperseat {c |}  {res} .2058516   .0123081    16.72   0.000     .1817281     .229975
   {txt}allincfmt {c |}  {res} .0023228   .0010935     2.12   0.034     .0001795     .004466
 {txt}educcolldeg {c |}  {res} -.233639   .1421983    -1.64   0.100    -.5123426    .0450645
    {txt}unemppct {c |}  {res}-.0075401   .0031894    -2.36   0.018    -.0137912    -.001289
{txt}stateye~tpct {c |}  {res} .6873336   .1529908     4.49   0.000     .3874771      .98719
       {txt}_cons {c |}  {res}-3.173271   .0685795   -46.27   0.000    -3.307684   -3.038858
{txt}{hline 13}{c BT}{hline 64}

{res}Simulating main parameters.  Please wait....
% of simulations completed: 7% 14% 21% 28% 35% 42% 50% 57% 64% 71% 78% 85% 92% 100% 

Number of simulations  : 1000
Names of new variables : b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14
{txt}
{com}. gen counterm=_n-1
{txt}
{com}. gen predlamb=.
{txt}(57,811 missing values generated)

{com}. gen lbd3=.
{txt}(57,811 missing values generated)

{com}. gen ubd3=.
{txt}(57,811 missing values generated)

{com}. setx mean
{txt}
{com}. setx multimem 0 openelect 1 
{txt}
{com}. set more 1
{txt}
{com}. forvalues i=1(1)100 {c -(}
{txt}  2{com}. setx stateyear_inclatpct `i'/100
{txt}  3{com}. simqi, genpr(p1 p2)
{txt}  4{com}. sum p2
{txt}  5{com}. replace predlamb=r(mean) if counterm==`i'
{txt}  6{com}. _pctile p2, p(2.5 97.5)
{txt}  7{com}. display r(r1)
{txt}  8{com}. display r(r2)
{txt}  9{com}. replace lbd3=r(r1) if counterm==`i'
{txt} 10{com}. replace ubd3=r(r2) if counterm==`i'
{txt} 11{com}. drop p1 p2
{txt} 12{com}. {c )-}

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0211994    .0014103   .0168183   .0253266
{txt}(1 real change made)
.01849769
.02405478
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0215516    .0014205   .0170249   .0257863
{txt}(1 real change made)
.01882827
.02441032
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .021909     .001435   .0172336    .026308
{txt}(1 real change made)
.01916262
.02474209
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0222716    .0014541   .0174445   .0268385
{txt}(1 real change made)
.01953159
.02513769
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0226395     .001478   .0176575   .0273779
{txt}(1 real change made)
.01989461
.02562208
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0230128    .0015068   .0178728   .0279264
{txt}(1 real change made)
.02023356
.02598173
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0233915    .0015407   .0180904   .0284839
{txt}(1 real change made)
.02054375
.02639221
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0237757    .0015797   .0183102   .0290507
{txt}(1 real change made)
.02083874
.02683789
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0241655    .0016238   .0185322   .0297033
{txt}(1 real change made)
.02115037
.02727232
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0245608    .0016732   .0187566   .0304305
{txt}(1 real change made)
.02144154
.02780968
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0249618    .0017277   .0189832   .0311724
{txt}(1 real change made)
.0217271
.02838609
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0253685    .0017873   .0192122   .0319291
{txt}(1 real change made)
.02202616
.02898778
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0257811    .0018521   .0194435    .032701
{txt}(1 real change made)
.02233181
.02956567
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0261995    .0019218   .0196772   .0334882
{txt}(1 real change made)
.0226341
.03017482
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0266238    .0019964   .0199133   .0342909
{txt}(1 real change made)
.02292552
.03082371
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0270541    .0020759   .0201517   .0351094
{txt}(1 real change made)
.02321211
.03141996
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0274904      .00216   .0203926   .0359439
{txt}(1 real change made)
.02353884
.03202317
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0279328    .0022489   .0206359   .0367945
{txt}(1 real change made)
.02386927
.0326077
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0283814    .0023423   .0208817   .0376615
{txt}(1 real change made)
.0241696
.03332444
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0288363    .0024402   .0211299   .0385451
{txt}(1 real change made)
.02443441
.03401201
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0292974    .0025426   .0213807   .0394455
{txt}(1 real change made)
.02470578
.03473064
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .029765    .0026493   .0216339    .040363
{txt}(1 real change made)
.02497565
.03549216
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0302389    .0027603   .0218897   .0412977
{txt}(1 real change made)
.02527984
.03626291
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0307193    .0028755    .022148   .0422499
{txt}(1 real change made)
.0256387
.03700257
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0312064    .0029949   .0224089   .0432198
{txt}(1 real change made)
.02595568
.03776055
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000       .0317    .0031185   .0226724   .0442076
{txt}(1 real change made)
.02620076
.03851959
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0322003    .0032462   .0229385   .0452135
{txt}(1 real change made)
.02644777
.03924459
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0327074     .003378   .0232072   .0462377
{txt}(1 real change made)
.02676552
.04000321
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0332213    .0035138   .0234785   .0472805
{txt}(1 real change made)
.02703312
.04081169
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0337421    .0036537   .0237526   .0483421
{txt}(1 real change made)
.02729597
.04158651
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0342698    .0037977   .0240293   .0494226
{txt}(1 real change made)
.0275699
.04250798
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0348046    .0039457   .0243087   .0505223
{txt}(1 real change made)
.02785769
.04333403
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0353465    .0040978   .0245908   .0516414
{txt}(1 real change made)
.02814507
.04416019
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0358955    .0042538   .0248757   .0527802
{txt}(1 real change made)
.0284044
.04504308
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0364517    .0044139   .0251633   .0539388
{txt}(1 real change made)
.02869171
.04591023
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0370152    .0045781   .0254538   .0551174
{txt}(1 real change made)
.0289826
.04681632
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0375861    .0047463    .025747   .0563163
{txt}(1 real change made)
.02928958
.04779843
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0381644    .0049186    .026043   .0575356
{txt}(1 real change made)
.02959932
.04874727
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0387502     .005095   .0263419   .0587756
{txt}(1 real change made)
.02988455
.04976588
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0393435    .0052755   .0266437   .0600365
{txt}(1 real change made)
.03016519
.05080151
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0399444    .0054601   .0269483   .0613185
{txt}(1 real change made)
.03045299
.05185433
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0405531    .0056488   .0272558   .0626218
{txt}(1 real change made)
.03073139
.05288651
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0411695    .0058417   .0274699   .0639465
{txt}(1 real change made)
.03103673
.05391426
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0417937    .0060388   .0276662    .065293
{txt}(1 real change made)
.03134459
.05495779
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0424257    .0062401   .0278637   .0666613
{txt}(1 real change made)
.03165498
.05601721
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0430658    .0064456   .0280624   .0680517
{txt}(1 real change made)
.03196678
.05719267
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0437138    .0066554   .0282622   .0694644
{txt}(1 real change made)
.03227721
.05839605
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0443699    .0068695   .0284632   .0708996
{txt}(1 real change made)
.03253887
.05961931
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0450342     .007088   .0286654   .0723575
{txt}(1 real change made)
.03277744
.06086265
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0457067    .0073107   .0288688   .0738382
{txt}(1 real change made)
.03302914
.06206522
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0463875    .0075379   .0290734   .0753419
{txt}(1 real change made)
.03328714
.06324625
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0470766    .0077694   .0292792   .0768689
{txt}(1 real change made)
.03362816
.06444472
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0477741    .0080054   .0294863   .0784193
{txt}(1 real change made)
.03394772
.06563234
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0484801    .0082459   .0296219   .0799933
{txt}(1 real change made)
.03420886
.0668357
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0491946    .0084909   .0297547   .0815911
{txt}(1 real change made)
.03447166
.06805606
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0499178    .0087404   .0298881   .0832128
{txt}(1 real change made)
.03479206
.06929943
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0506496    .0089944   .0300219   .0848587
{txt}(1 real change made)
.03512192
.0705245
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0513901    .0092531   .0301562   .0865288
{txt}(1 real change made)
.03540312
.0717756
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0521395    .0095164    .030291   .0882233
{txt}(1 real change made)
.03574537
.07304364
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0528977    .0097843   .0304264   .0899425
{txt}(1 real change made)
.03610256
.0743559
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0536648     .010057   .0305622   .0916865
{txt}(1 real change made)
.0364591
.07574257
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0544409    .0103343   .0306985   .0934554
{txt}(1 real change made)
.0367962
.07713914
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .055226    .0106165   .0308353   .0952493
{txt}(1 real change made)
.03713586
.07856978
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0560203    .0109034   .0309727   .0970685
{txt}(1 real change made)
.03747809
.08002045
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0568237    .0111951   .0311105   .0989131
{txt}(1 real change made)
.03782291
.08149133
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0576363    .0114916   .0312488   .1007832
{txt}(1 real change made)
.03815145
.08298253
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0584583    .0117931   .0313877   .1028417
{txt}(1 real change made)
.03844126
.08449419
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0592896    .0120994    .031527   .1049898
{txt}(1 real change made)
.03873289
.08602645
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0601303    .0124107   .0316669   .1071701
{txt}(1 real change made)
.03902633
.08757943
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0609805     .012727   .0318073   .1093829
{txt}(1 real change made)
.03932161
.08915326
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0618402    .0130482   .0319482   .1116284
{txt}(1 real change made)
.039645
.09071239
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0627095    .0133745   .0320896   .1139066
{txt}(1 real change made)
.03998675
.09228811
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0635885    .0137058   .0322315   .1162177
{txt}(1 real change made)
.04033089
.09388402
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0644772    .0140422    .032374    .118562
{txt}(1 real change made)
.04067743
.09550021
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0653756    .0143836   .0325169   .1209395
{txt}(1 real change made)
.04102638
.09713678
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0662839    .0147303   .0326604   .1233503
{txt}(1 real change made)
.04137776
.09879384
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .067202     .015082   .0328044   .1257946
{txt}(1 real change made)
.04173158
.10054499
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0681301     .015439    .032949   .1282724
{txt}(1 real change made)
.04208785
.10236052
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0690681    .0158011    .033094    .130784
{txt}(1 real change made)
.04244657
.10419985
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0700162    .0161685   .0332396   .1333293
{txt}(1 real change made)
.04280777
.10606309
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0709744    .0165411   .0333857   .1359086
{txt}(1 real change made)
.04317145
.10795033
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0719427     .016919   .0335323   .1385217
{txt}(1 real change made)
.04353762
.1098617
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0729213    .0173022   .0336795   .1411689
{txt}(1 real change made)
.04390866
.11179732
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0739101    .0176907   .0338272   .1438502
{txt}(1 real change made)
.04429563
.11375725
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0749092    .0180846   .0339754   .1465657
{txt}(1 real change made)
.04468535
.11574163
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0759186    .0184838   .0341242   .1493153
{txt}(1 real change made)
.04507783
.11775053
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0769384    .0188883   .0342735   .1520992
{txt}(1 real change made)
.04547311
.11978403
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0779687    .0192983   .0344233   .1549173
{txt}(1 real change made)
.04587627
.12184222
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0790095    .0197136   .0345737   .1577697
{txt}(1 real change made)
.04628643
.1239252
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0800609    .0201344   .0347246   .1606563
{txt}(1 real change made)
.04669953
.12603304
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0811228    .0205605   .0348761   .1635773
{txt}(1 real change made)
.0471156
.1281658
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0821954    .0209922   .0350281   .1665325
{txt}(1 real change made)
.04753462
.13032355
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0832786    .0214293   .0351806    .169522
{txt}(1 real change made)
.04795664
.13250635
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0843726    .0218718   .0353337   .1725456
{txt}(1 real change made)
.04838166
.13471428
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0854773    .0223199   .0354873   .1756035
{txt}(1 real change made)
.04880968
.13694535
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0865929    .0227734   .0356415   .1786954
{txt}(1 real change made)
.04924074
.13914175
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0877193    .0232324   .0357962   .1818215
{txt}(1 real change made)
.04967483
.14136201
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0888566    .0236969   .0359515   .1849815
{txt}(1 real change made)
.05011197
.14360617
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0900048    .0241669   .0361073   .1881754
{txt}(1 real change made)
.05055218
.14587425
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .091164    .0246425   .0362637   .1914031
{txt}(1 real change made)
.0510314
.1481663
(1 real change made)
(1 real change made)

{com}. 
. twoway (line predlawb counter if counter<=100, sort clcolor(black) clpat(dash) clwidth(medium)) (line predlamb counterm if counterm<=100, sort clcolor(black) clpat(solid) clwidth(medium)), legend(region(lcolor(none))) graphregion(fcolor(white))/*
> */ title("Pr. Prob. Latina/o Non Incumbent Ballot Presence", size(med) color(black) margin(medium) justification(center))/*
> */ ylabel(0(.05).2, grid glcolor(white)) ytitle("Pr(Latina/o on the ballot)", size(medsmall) margin(medium)) /*
> */xlabel (0(10)100) xtitle(% Latina/o Incumbents, size(medsmall) margin(medsmall)) legend(off)legend(on size(small))
{p 0 4 2}
{txt}(note:  named style
med not found in class
gsize,  default attributes used)
{p_end}
{res}{txt}
{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. 
{txt}end of do-file

{com}. **************************************************
. ********* Figure A4: ********************************
. **************************************************
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
{res}{err}Got filename: , loading GRACE data set and replacing existing data set
{com}.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
{res}{err}running GRACE data prep do file
{com}.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. do "do_files/prep_GRACE_data/ballot_level_prep.do"
{txt}
{com}. * here we check whether we have already run the code for generating the ballot level data
. * we do this by looking for the ballot_latwpres variable
. capture confirm variable ballot_latwpres
{txt}
{com}. if _rc {c -(}
.     di in red "running ballot level prep do file"
{res}{err}running ballot level prep do file
{com}.     quietly do "do_files/prep_GRACE_data/generate_ballot_level_data.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran ballot level prep do file, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. ***state level variables***************
. egen stateyear_latpoppct = mean(latpoppct), by(stateyear)
{txt}
{com}. 
. gen latpop_cat=1 if stateyear_latpoppct<=.1
{txt}(17,276 missing values generated)

{com}. replace latpop_cat=2 if stateyear_latpoppct>=.100001 & stateyear_latpoppct<=.2
{txt}(11,299 real changes made)

{com}. 
. replace latpop_cat=3 if  stateyear_latpoppct>=.200001
{txt}(5,977 real changes made)

{com}. replace latpop_cat=0 if latpop_cat==.
{txt}(0 real changes made)

{com}. 
. * drop any temporary variables that might have been used to generate figure A3_1
. local list b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 counter predlawb predlamb counterm lbd2 ubd2 lbd3 ubd3
{txt}
{com}. foreach var of local list {c -(}
{txt}  2{com}.     capture drop `var'
{txt}  3{com}.     if _rc {c -(} 
{txt}  4{com}.         di in red "Note: failed to drop `var'" 
{txt}  5{com}.     {c )-} 
{txt}  6{com}. {c )-}
{err}Note: failed to drop b1
Note: failed to drop b2
Note: failed to drop b3
Note: failed to drop b4
Note: failed to drop b5
Note: failed to drop b6
Note: failed to drop b7
Note: failed to drop b8
Note: failed to drop b9
Note: failed to drop b10
Note: failed to drop b11
Note: failed to drop b12
Note: failed to drop b13
Note: failed to drop b14
Note: failed to drop counter
Note: failed to drop predlawb
Note: failed to drop predlamb
Note: failed to drop counterm
Note: failed to drop lbd2
Note: failed to drop ubd2
Note: failed to drop lbd3
Note: failed to drop ubd3
{txt}
{com}. 
. 
. estsimp probit ballot_latwpres  openmmdproportion latpop_cat postred2010  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  multimem  candperseat allincfmt educcolldeg unemppct  if postred2010==1  | postred2000==1 

{txt}Iteration 0:   log likelihood = {res} -1110.309
{txt}Iteration 1:   log likelihood = {res}-823.61306
{txt}Iteration 2:   log likelihood = {res}-779.58312
{txt}Iteration 3:   log likelihood = {res}-778.59009
{txt}Iteration 4:   log likelihood = {res}-778.58609
{txt}Iteration 5:   log likelihood = {res}-778.58609

{txt}Probit regression                                 Number of obs   = {res}     12698
                                                  {txt}LR chi2({res}14{txt})     = {res}    663.45
                                                  {txt}Prob > chi2     = {res}    0.0000
{txt}Log likelihood = {res}-778.58609                       {txt}Pseudo R2       = {res}    0.2988

{txt}{hline 13}{c TT}{hline 64}
ba~_latwpres {c |}      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
{hline 13}{c +}{hline 64}
openmmdpro~n {c |}  {res}-.0724312    .210371    -0.34   0.731    -.4847508    .3398884
  {txt}latpop_cat {c |}  {res} .0536671   .0653556     0.82   0.412    -.0744276    .1817618
 {txt}postred2010 {c |}  {res} .0609319   .1436928     0.42   0.672    -.2207007    .3425646
  {txt}afampoppct {c |}  {res} -.265882   .2936361    -0.91   0.365    -.8413981    .3096342
  {txt}asampoppct {c |}  {res} 1.356931   .5068534     2.68   0.007     .3635169    2.350346
   {txt}latpoppct {c |}  {res} 3.010586   .2225166    13.53   0.000     2.574462    3.446711
      {txt}tlimit {c |}  {res} .0644061   .0821281     0.78   0.433    -.0965621    .2253743
     {txt}legprof {c |}  {res} .1168187   .2447745     0.48   0.633    -.3629305    .5965679
{txt}distrepubstr {c |}  {res}-.3556376   .1371852    -2.59   0.010    -.6245156   -.0867596
    {txt}multimem {c |}  {res} .2769167   .1147817     2.41   0.016     .0519486    .5018848
 {txt}candperseat {c |}  {res} .1259844   .0272387     4.63   0.000     .0725975    .1793713
   {txt}allincfmt {c |}  {res} .0025141   .0028548     0.88   0.379    -.0030812    .0081093
 {txt}educcolldeg {c |}  {res}-.1121227   .4519557    -0.25   0.804    -.9979397    .7736942
    {txt}unemppct {c |}  {res}-.0023801   .0153125    -0.16   0.876     -.032392    .0276319
       {txt}_cons {c |}  {res}-3.344762   .2196933   -15.22   0.000    -3.775353   -2.914171
{txt}{hline 13}{c BT}{hline 64}

{res}Simulating main parameters.  Please wait....
% of simulations completed: 6% 13% 20% 26% 33% 40% 46% 53% 60% 66% 73% 80% 86% 93% 100% 

Number of simulations  : 1000
Names of new variables : b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15
{txt}
{com}. gen counter=_n-1
{txt}
{com}. gen predlatw=.
{txt}(57,811 missing values generated)

{com}. gen lbd2=.
{txt}(57,811 missing values generated)

{com}. gen ubd2=.
{txt}(57,811 missing values generated)

{com}. setx mean
{txt}
{com}. 
. set more 1
{txt}
{com}. forvalues i=1(1)100 {c -(}
{txt}  2{com}. setx openmmdproportion `i'/100
{txt}  3{com}. simqi, genpr(p1 p2)
{txt}  4{com}. sum p2
{txt}  5{com}. replace predlatw=r(mean) if counter==`i'
{txt}  6{com}. _pctile p2, p(2.5 97.5)
{txt}  7{com}. display r(r1)
{txt}  8{com}. display r(r2)
{txt}  9{com}. replace lbd2=r(r1) if counter==`i'
{txt} 10{com}. replace ubd2=r(r2) if counter==`i'
{txt} 11{com}. drop p1 p2
{txt} 12{com}. {c )-}

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0059659    .0009691   .0034914   .0093407
{txt}(1 real change made)
.00426276
.00807084
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0059508    .0009489   .0035115   .0092536
{txt}(1 real change made)
.004297
.00802127
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .005936    .0009297   .0035317   .0091672
{txt}(1 real change made)
.00432222
.00796954
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0059214    .0009117    .003552   .0090815
{txt}(1 real change made)
.00433148
.00792226
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .005907    .0008949   .0035724   .0089965
{txt}(1 real change made)
.00433448
.00784841
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0058928    .0008792   .0035929   .0089122
{txt}(1 real change made)
.00433646
.00777702
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0058789    .0008648   .0036135   .0088286
{txt}(1 real change made)
.00434476
.0077157
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0058651    .0008517   .0036342   .0087456
{txt}(1 real change made)
.00436228
.007699
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0058515      .00084   .0036551   .0086634
{txt}(1 real change made)
.00437771
.00767014
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0058382    .0008296    .003676   .0085818
{txt}(1 real change made)
.0043642
.00762421
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .005825    .0008206   .0036971   .0085368
{txt}(1 real change made)
.00437247
.00757451
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0058121     .000813   .0037182   .0085125
{txt}(1 real change made)
.00437142
.00755085
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0057994    .0008069   .0037395   .0084883
{txt}(1 real change made)
.00437195
.00752925
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0057868    .0008023   .0037608   .0084641
{txt}(1 real change made)
.00435684
.00749742
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0057745    .0007992   .0037823     .00844
{txt}(1 real change made)
.00434531
.00747887
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0057624    .0007976   .0038039   .0084159
{txt}(1 real change made)
.00434379
.00745089
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0057504    .0007974   .0038256   .0083919
{txt}(1 real change made)
.00433376
.00741965
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0057387    .0007987   .0038474    .008368
{txt}(1 real change made)
.00433362
.00738541
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0057271    .0008015   .0038694   .0083441
{txt}(1 real change made)
.00432402
.00737244
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0057158    .0008057   .0038914   .0083202
{txt}(1 real change made)
.00427594
.00737385
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0057047    .0008112   .0038229   .0082965
{txt}(1 real change made)
.00423912
.0073825
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0056937    .0008182   .0037429   .0082728
{txt}(1 real change made)
.00422641
.00739788
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .005683    .0008264   .0036645   .0083142
{txt}(1 real change made)
.00421374
.00744406
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0056724    .0008358   .0035875   .0083786
{txt}(1 real change made)
.00419757
.00746296
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .005662    .0008465   .0035119   .0084435
{txt}(1 real change made)
.00416095
.0074579
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0056519    .0008583   .0034378   .0085088
{txt}(1 real change made)
.00412006
.00746302
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0056419    .0008713   .0033651   .0085745
{txt}(1 real change made)
.00408638
.00746739
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0056321    .0008852   .0032938   .0086407
{txt}(1 real change made)
.00405383
.00750937
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0056225    .0009002   .0032238   .0087073
{txt}(1 real change made)
.0040185
.00753386
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0056131     .000916   .0031552   .0087744
{txt}(1 real change made)
.0039896
.0075725
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0056039    .0009328   .0030879   .0088419
{txt}(1 real change made)
.00394812
.00760311
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0055949    .0009504   .0030219   .0089099
{txt}(1 real change made)
.00394224
.00765933
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .005586    .0009688   .0029572   .0089783
{txt}(1 real change made)
.00390959
.0076914
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0055774    .0009878   .0028937   .0090472
{txt}(1 real change made)
.00386348
.00770608
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0055689    .0010076   .0028315   .0091166
{txt}(1 real change made)
.00381993
.00777099
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0055606    .0010281   .0027704   .0091864
{txt}(1 real change made)
.00378331
.00781296
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0055525    .0010491   .0027106   .0092567
{txt}(1 real change made)
.00374699
.00785513
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0055446    .0010707   .0026519   .0093275
{txt}(1 real change made)
.003711
.00790227
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0055369    .0010928   .0025944   .0093987
{txt}(1 real change made)
.00367832
.00794446
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0055293    .0011154    .002538   .0094705
{txt}(1 real change made)
.00364142
.00800723
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .005522    .0011385   .0024827   .0095766
{txt}(1 real change made)
.00360486
.00808044
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0055148    .0011621   .0024285   .0097062
{txt}(1 real change made)
.0035701
.00815279
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0055078    .0011861   .0023754   .0098396
{txt}(1 real change made)
.00352624
.00820976
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .005501    .0012104   .0023233   .0099745
{txt}(1 real change made)
.0034867
.00825182
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054943    .0012351   .0022723   .0101111
{txt}(1 real change made)
.00345216
.00828903
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054879    .0012602   .0022223   .0102492
{txt}(1 real change made)
.00341416
.00833068
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054816    .0012856   .0021733    .010389
{txt}(1 real change made)
.00337301
.00837254
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054755    .0013113   .0021252   .0105305
{txt}(1 real change made)
.00334112
.00841459
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054696    .0013373   .0020782   .0106737
{txt}(1 real change made)
.0033068
.0084618
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054639    .0013636    .002032   .0108185
{txt}(1 real change made)
.00327168
.00852446
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054583    .0013902   .0019869   .0109651
{txt}(1 real change made)
.00323229
.00858622
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054529     .001417   .0019426   .0111133
{txt}(1 real change made)
.00319359
.00863551
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054477    .0014441   .0018992   .0112634
{txt}(1 real change made)
.00315371
.00869197
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054427    .0014714   .0018567   .0114151
{txt}(1 real change made)
.0031125
.0087459
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054378     .001499   .0018151   .0115687
{txt}(1 real change made)
.00306927
.00879602
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054331    .0015267   .0017743    .011724
{txt}(1 real change made)
.00303589
.00884639
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054286    .0015547   .0017344   .0118812
{txt}(1 real change made)
.00300406
.00889952
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054243    .0015828   .0016952   .0120401
{txt}(1 real change made)
.00296262
.00896167
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054201    .0016112   .0016569    .012201
{txt}(1 real change made)
.00292055
.0090242
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054161    .0016398   .0016194   .0123636
{txt}(1 real change made)
.00287159
.00910486
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054123    .0016685   .0015826   .0125282
{txt}(1 real change made)
.00282789
.00917628
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054086    .0016974   .0015467   .0126946
{txt}(1 real change made)
.00279169
.00924059
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054052    .0017265   .0015114    .012863
{txt}(1 real change made)
.0027536
.0093076
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0054019    .0017558   .0014769   .0130332
{txt}(1 real change made)
.00271627
.00935504
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053987    .0017852   .0014431   .0132055
{txt}(1 real change made)
.00267941
.00940951
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053958    .0018148     .00141   .0133796
{txt}(1 real change made)
.00264299
.00947278
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .005393    .0018446   .0013776   .0135558
{txt}(1 real change made)
.00260703
.00954317
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053903    .0018746   .0013459    .013734
{txt}(1 real change made)
.00257151
.00963085
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053879    .0019047   .0013149   .0139141
{txt}(1 real change made)
.00253643
.00971925
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053856    .0019349   .0012845   .0140963
{txt}(1 real change made)
.00250178
.00979489
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053835    .0019653   .0012548   .0142806
{txt}(1 real change made)
.00246525
.00986212
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053815    .0019959   .0012257   .0144669
{txt}(1 real change made)
.00242876
.00992974
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053797    .0020266   .0011972   .0146554
{txt}(1 real change made)
.00239275
.00999778
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053781    .0020575   .0011693   .0148459
{txt}(1 real change made)
.00235723
.01006652
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053767    .0020886    .001142   .0150386
{txt}(1 real change made)
.00232218
.01014975
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053754    .0021197   .0011153   .0152334
{txt}(1 real change made)
.00228762
.01023535
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053743    .0021511   .0010892   .0154303
{txt}(1 real change made)
.00225351
.01032588
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053733    .0021826   .0010636   .0156295
{txt}(1 real change made)
.00221987
.0104171
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053725    .0022142   .0010386   .0158308
{txt}(1 real change made)
.00218753
.01050902
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053719     .002246   .0010141   .0160344
{txt}(1 real change made)
.00215941
.01060165
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053714     .002278   .0009902   .0162402
{txt}(1 real change made)
.00213161
.010695
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053711    .0023101   .0009668   .0164483
{txt}(1 real change made)
.00210414
.01078956
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .005371    .0023424   .0009439   .0166586
{txt}(1 real change made)
.002077
.01089241
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .005371    .0023748   .0009214   .0168713
{txt}(1 real change made)
.00205018
.0109762
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053712    .0024074   .0008995   .0170862
{txt}(1 real change made)
.00202368
.01105912
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053716    .0024402   .0008781   .0173035
{txt}(1 real change made)
.0019975
.01115781
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053721    .0024731   .0008571   .0175232
{txt}(1 real change made)
.00197163
.0112402
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053728    .0025061   .0008366   .0177452
{txt}(1 real change made)
.00194607
.01131445
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053737    .0025394   .0008165   .0179696
{txt}(1 real change made)
.00191987
.01138916
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053747    .0025728   .0007969   .0181965
{txt}(1 real change made)
.00189116
.01148
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053759    .0026063   .0007777   .0184258
{txt}(1 real change made)
.00186235
.0115819
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053772    .0026401    .000759   .0186575
{txt}(1 real change made)
.00183393
.01169065
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053787     .002674   .0007406   .0188917
{txt}(1 real change made)
.00180592
.01180029
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053804     .002708   .0007227   .0191284
{txt}(1 real change made)
.00177862
.01191084
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053822    .0027423   .0007052   .0193677
{txt}(1 real change made)
.00175268
.01202228
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053842    .0027767   .0006881   .0196094
{txt}(1 real change made)
.0017271
.01213465
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053863    .0028113   .0006713   .0198537
{txt}(1 real change made)
.00170186
.01224792
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053886     .002846   .0006549   .0201006
{txt}(1 real change made)
.00167696
.01236213
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053911     .002881   .0006389   .0203501
{txt}(1 real change made)
.00165239
.01247726
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0053937    .0029161   .0006233   .0206022
{txt}(1 real change made)
.00162815
.01259333
(1 real change made)
(1 real change made)

{com}. drop b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15 
{txt}
{com}. estsimp probit ballot_latmpres  openmmdproportion latpop_cat  postred2010 afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  multimem  candperseat allincfmt educcolldeg unemppct  if postred2010==1 | postred2000==1 

{txt}Iteration 0:   log likelihood = {res}-2173.9497
{txt}Iteration 1:   log likelihood = {res}-1388.3874
{txt}Iteration 2:   log likelihood = {res} -1354.052
{txt}Iteration 3:   log likelihood = {res} -1352.649
{txt}Iteration 4:   log likelihood = {res}-1352.6446
{txt}Iteration 5:   log likelihood = {res}-1352.6446

{txt}Probit regression                                 Number of obs   = {res}     12698
                                                  {txt}LR chi2({res}14{txt})     = {res}   1642.61
                                                  {txt}Prob > chi2     = {res}    0.0000
{txt}Log likelihood = {res}-1352.6446                       {txt}Pseudo R2       = {res}    0.3778

{txt}{hline 13}{c TT}{hline 64}
ba~_latmpres {c |}      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
{hline 13}{c +}{hline 64}
openmmdpro~n {c |}  {res} .3779598   .1645463     2.30   0.022     .0554549    .7004647
  {txt}latpop_cat {c |}  {res} .0656987   .0489744     1.34   0.180    -.0302893    .1616867
 {txt}postred2010 {c |}  {res} .2196467   .1120657     1.96   0.050     1.86e-06    .4392915
  {txt}afampoppct {c |}  {res}-.4334764   .2180675    -1.99   0.047    -.8608808   -.0060719
  {txt}asampoppct {c |}  {res}-.3184036   .4713233    -0.68   0.499     -1.24218    .6053732
   {txt}latpoppct {c |}  {res} 3.714885   .1798527    20.66   0.000      3.36238     4.06739
      {txt}tlimit {c |}  {res} .0338039   .0622379     0.54   0.587    -.0881801     .155788
     {txt}legprof {c |}  {res} .0908105   .1911481     0.48   0.635    -.2838329    .4654538
{txt}distrepubstr {c |}  {res}-.3966381   .1056475    -3.75   0.000    -.6037035   -.1895727
    {txt}multimem {c |}  {res}-.1326323   .1080931    -1.23   0.220    -.3444909    .0792263
 {txt}candperseat {c |}  {res} .1854418   .0245824     7.54   0.000     .1372612    .2336224
   {txt}allincfmt {c |}  {res} .0000877    .002202     0.04   0.968    -.0042281    .0044036
 {txt}educcolldeg {c |}  {res} .6003808   .3394165     1.77   0.077    -.0648632    1.265625
    {txt}unemppct {c |}  {res}-.0012067   .0120163    -0.10   0.920    -.0247581    .0223448
       {txt}_cons {c |}  {res}-3.322427   .1720391   -19.31   0.000    -3.659618   -2.985237
{txt}{hline 13}{c BT}{hline 64}

{res}Simulating main parameters.  Please wait....
% of simulations completed: 6% 13% 20% 26% 33% 40% 46% 53% 60% 66% 73% 80% 86% 93% 100% 

Number of simulations  : 1000
Names of new variables : b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15
{txt}
{com}. gen counterm=_n-1
{txt}
{com}. gen predlatm=.
{txt}(57,811 missing values generated)

{com}. gen lbd3=.
{txt}(57,811 missing values generated)

{com}. gen ubd3=.
{txt}(57,811 missing values generated)

{com}. setx mean
{txt}
{com}. 
. set more 1
{txt}
{com}. forvalues i=1(1)100 {c -(}
{txt}  2{com}. setx openmmdproportion `i'/100
{txt}  3{com}. simqi, genpr(p1 p2)
{txt}  4{com}. sum p2
{txt}  5{com}. replace predlatm=r(mean) if counterm==`i'
{txt}  6{com}. _pctile p2, p(2.5 97.5)
{txt}  7{com}. display r(r1)
{txt}  8{com}. display r(r2)
{txt}  9{com}. replace lbd3=r(r1) if counterm==`i'
{txt} 10{com}. replace ubd3=r(r2) if counterm==`i'
{txt} 11{com}. drop p1 p2
{txt} 12{com}. {c )-}

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0122848    .0013568   .0087525   .0177519
{txt}(1 real change made)
.00981831
.01522265
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0124033    .0013387   .0088764   .0178381
{txt}(1 real change made)
.00996727
.01530955
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0125231    .0013214   .0090019   .0179246
{txt}(1 real change made)
.0101176
.01541509
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .012644     .001305   .0091288   .0180115
{txt}(1 real change made)
.01027003
.01554683
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0127661    .0012896   .0092574   .0180987
{txt}(1 real change made)
.01042439
.01565059
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0128894    .0012754   .0093875   .0181863
{txt}(1 real change made)
.01056271
.01573934
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0130139    .0012625   .0095193   .0182743
{txt}(1 real change made)
.01070155
.01582222
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0131397     .001251   .0096526   .0183626
{txt}(1 real change made)
.01082328
.01588103
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0132666     .001241   .0097876   .0184513
{txt}(1 real change made)
.01094666
.01597451
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0133949    .0012327   .0099242   .0185403
{txt}(1 real change made)
.01109912
.01604973
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0135243    .0012262   .0100625   .0186297
{txt}(1 real change made)
.01127259
.01617751
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0136551    .0012216   .0102024   .0188063
{txt}(1 real change made)
.01145439
.01626895
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0137871    .0012191   .0103441   .0190241
{txt}(1 real change made)
.01157789
.01634294
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0139204    .0012188   .0104874   .0192441
{txt}(1 real change made)
.01172093
.0164631
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .014055    .0012208   .0106325   .0194662
{txt}(1 real change made)
.01190515
.01660628
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0141909    .0012252   .0107794   .0196904
{txt}(1 real change made)
.01205745
.0167885
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0143282    .0012321    .010928   .0199169
{txt}(1 real change made)
.01219117
.01689432
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0144667    .0012416   .0110784   .0201455
{txt}(1 real change made)
.01229592
.01705683
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0146067    .0012538   .0112305   .0203764
{txt}(1 real change made)
.01242804
.01726722
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0147479    .0012686   .0113827   .0206096
{txt}(1 real change made)
.01256615
.01746031
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0148906    .0012862   .0114962   .0208449
{txt}(1 real change made)
.01266887
.01760494
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0150346    .0013066   .0115671   .0210826
{txt}(1 real change made)
.01275893
.01781829
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000      .01518    .0013298   .0115715   .0213225
{txt}(1 real change made)
.01287562
.01806188
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0153268    .0013557   .0115759   .0215648
{txt}(1 real change made)
.01297824
.01823385
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .015475    .0013844   .0115802   .0218093
{txt}(1 real change made)
.0130913
.01837723
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0156247    .0014159   .0115846   .0220562
{txt}(1 real change made)
.0132018
.01862029
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0157757      .00145    .011589   .0223055
{txt}(1 real change made)
.01329948
.01885648
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0159283    .0014868   .0115933   .0225571
{txt}(1 real change made)
.01340519
.01909718
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0160822    .0015262   .0115977   .0228112
{txt}(1 real change made)
.01351513
.01927682
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0162377    .0015682   .0116021   .0230676
{txt}(1 real change made)
.01358951
.01954154
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0163946    .0016126   .0116064   .0233264
{txt}(1 real change made)
.01367014
.01977311
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0165531    .0016595   .0116108   .0235877
{txt}(1 real change made)
.01375081
.02001141
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .016713    .0017088   .0116152   .0238515
{txt}(1 real change made)
.01383283
.02026604
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0168745    .0017604   .0116196   .0241177
{txt}(1 real change made)
.01389644
.02049721
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0170375    .0018143   .0116239   .0243864
{txt}(1 real change made)
.01394483
.0207725
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .017202    .0018704   .0116283   .0246576
{txt}(1 real change made)
.01405007
.02106663
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0173681    .0019286   .0116327   .0249314
{txt}(1 real change made)
.01411639
.02138075
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0175358     .001989   .0116371   .0252077
{txt}(1 real change made)
.01415795
.02171279
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .017705    .0020515   .0116415   .0254865
{txt}(1 real change made)
.01421335
.02201014
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0178759     .002116   .0116458    .025768
{txt}(1 real change made)
.0142637
.02234428
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0180483    .0021825   .0116502   .0261478
{txt}(1 real change made)
.01431366
.02271344
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0182224     .002251   .0116546   .0266657
{txt}(1 real change made)
.01435719
.02307323
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0183981    .0023214    .011659   .0271921
{txt}(1 real change made)
.01439637
.02337337
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0185754    .0023937   .0116634   .0277272
{txt}(1 real change made)
.01442672
.02362925
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0187544    .0024679   .0116678    .028271
{txt}(1 real change made)
.01449738
.02401402
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0189351    .0025439   .0116722   .0288236
{txt}(1 real change made)
.01453552
.02442772
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0191174    .0026218   .0116766   .0293852
{txt}(1 real change made)
.01457093
.02484739
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0193015    .0027014    .011681   .0299559
{txt}(1 real change made)
.01460642
.0252731
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0194872    .0027829   .0116854   .0305357
{txt}(1 real change made)
.01464201
.02568698
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0196747    .0028661   .0116422   .0311248
{txt}(1 real change made)
.01469752
.0260671
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0198639    .0029511   .0115941   .0317232
{txt}(1 real change made)
.01475726
.02645068
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0200549    .0030379   .0115462   .0323311
{txt}(1 real change made)
.01481603
.02681174
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0202476    .0031264   .0114985   .0329486
{txt}(1 real change made)
.01487009
.02717692
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0204421    .0032167   .0114509   .0335758
{txt}(1 real change made)
.01492433
.02761046
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0206383    .0033087   .0114035   .0342128
{txt}(1 real change made)
.01497329
.0280547
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0208364    .0034024   .0113563   .0348597
{txt}(1 real change made)
.01503284
.02849066
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0210363    .0034978   .0113092   .0355166
{txt}(1 real change made)
.01507998
.02887201
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .021238     .003595   .0112623   .0361836
{txt}(1 real change made)
.0151437
.02925761
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0214416    .0036938   .0112156   .0368609
{txt}(1 real change made)
.01518332
.0296603
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000     .021647    .0037944    .011169   .0375484
{txt}(1 real change made)
.01520273
.0301191
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0218542    .0038968   .0111226   .0382464
{txt}(1 real change made)
.01522216
.03052144
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0220634    .0040008   .0110764    .038955
{txt}(1 real change made)
.01525229
.03097546
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0222744    .0041066   .0110303   .0396741
{txt}(1 real change made)
.01528662
.03143509
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0224874    .0042141   .0109845   .0404041
{txt}(1 real change made)
.01532103
.03190402
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0227023    .0043234   .0109387   .0411449
{txt}(1 real change made)
.0153555
.03237798
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0229191    .0044344   .0108932   .0418967
{txt}(1 real change made)
.01539005
.0328575
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0231378    .0045471   .0108478   .0426596
{txt}(1 real change made)
.01542466
.03331847
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0233586    .0046616   .0108026   .0434337
{txt}(1 real change made)
.01544584
.03377246
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0235813    .0047779   .0107575    .044219
{txt}(1 real change made)
.01546689
.03423154
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0238059    .0048959   .0107126   .0450158
{txt}(1 real change made)
.01548798
.03469572
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0240326    .0050158   .0106679   .0458241
{txt}(1 real change made)
.01550909
.03516706
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0242613    .0051374   .0106233    .046644
{txt}(1 real change made)
.01553022
.03567005
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0244921    .0052608   .0105789   .0474757
{txt}(1 real change made)
.01555866
.03617892
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0247249    .0053859   .0105346   .0483192
{txt}(1 real change made)
.01559471
.03669375
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0249597     .005513   .0104906   .0491746
{txt}(1 real change made)
.01561406
.03721457
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0251966    .0056418   .0104466   .0500421
{txt}(1 real change made)
.01562923
.03768891
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0254356    .0057725   .0104029   .0509217
{txt}(1 real change made)
.01567491
.03813492
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0256767     .005905   .0103593   .0518136
{txt}(1 real change made)
.01572073
.03859817
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0259199    .0060393   .0103158   .0527179
{txt}(1 real change made)
.01576668
.03911021
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0261653    .0061756   .0102725   .0536347
{txt}(1 real change made)
.01581259
.03962775
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0264127    .0063137   .0102294    .054564
{txt}(1 real change made)
.01584917
.04015085
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0266624    .0064537   .0101864    .055506
{txt}(1 real change made)
.01588583
.04067954
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0269142    .0065956   .0101436   .0564608
{txt}(1 real change made)
.01592257
.04121387
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0271682    .0067394    .010101   .0574286
{txt}(1 real change made)
.01595938
.04180893
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0274244    .0068851   .0100585   .0584093
{txt}(1 real change made)
.01599007
.04241143
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0276828    .0070328   .0100161   .0594031
{txt}(1 real change made)
.01601997
.04302099
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0279434    .0071824   .0099739   .0604101
{txt}(1 real change made)
.01605089
.04364646
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0282063     .007334   .0099319   .0614305
{txt}(1 real change made)
.01607925
.04427604
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0284714    .0074875     .00989   .0624642
{txt}(1 real change made)
.01609782
.04490731
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0287388     .007643   .0098483   .0635115
{txt}(1 real change made)
.01611642
.04554585
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0290085    .0078006   .0098067   .0645724
{txt}(1 real change made)
.01613505
.04619172
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0292805    .0079601   .0097653    .065647
{txt}(1 real change made)
.01615371
.04684497
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0295548    .0081217    .009724   .0667354
{txt}(1 real change made)
.01617238
.04750565
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0298314    .0082853   .0096829   .0678377
{txt}(1 real change made)
.01619109
.0481711
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0301104     .008451    .009642    .068954
{txt}(1 real change made)
.01620982
.04878028
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0303917    .0086187   .0096012   .0700845
{txt}(1 real change made)
.01622857
.04941621
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0306754    .0087885   .0095605   .0712291
{txt}(1 real change made)
.01624736
.05006537
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0309615    .0089604     .00952    .072388
{txt}(1 real change made)
.01626617
.05072134
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000      .03125    .0091344   .0094797   .0735614
{txt}(1 real change made)
.0162957
.05142495
(1 real change made)
(1 real change made)

{res}Simqi generated the following new variable(s): p1 p2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}p2 {c |}{res}      1,000    .0315409    .0093105   .0094394   .0747492
{txt}(1 real change made)
.01632527
.05214716
(1 real change made)
(1 real change made)

{com}. 
. twoway (line predlatw counter if counter<=100, sort clcolor(black) clpat(dash) clwidth(medium))(line predlatm counterm if counterm<=100, sort clcolor(black) clpat(solid) clwidth(medium)), legend(region(lcolor(none))) graphregion(fcolor(white))/*
> */ title("Pr. Prob. Latina or Latino on Ballot", size(med) color(black) margin(medium) justification(center))/*
> */ ylabel(0(.01).05, grid glcolor(white)) ytitle("Pr Latina or Latino on Ballot)", size(medsmall) margin(medium)) /*
> */xlabel (0(10)100) xtitle(Open MMD Proportion, size(medsmall) margin(medsmall)) legend(off)legend(on size(small)) legend(label(1 "Latinas") label(2 "Latinos"))
{p 0 4 2}
{txt}(note:  named style
med not found in class
gsize,  default attributes used)
{p_end}
{res}{txt}
{com}. 
. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. 
{txt}end of do-file

{com}. **************************************************
. ********* Table A5: Likelihood of Latina **********
. ********* and Latino Non Incumbent Ballot ********
. ********* Presence, CVAP 2000-2010 ***************
. **************************************************
. 
. do "do_files/prep_CVAP_data/load_prep_CVAP_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP CVAP DATA *************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local CVAP_data_set = "GRACE_CVAP_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the CVAP data set, load the CVAP data
. if "`r(filename)'" != "`CVAP_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading CVAP data set and replacing existing data set"
{res}{err}Got filename: , loading CVAP data set and replacing existing data set
{com}.     use "data_files/GRACE_CVAP_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run CVAP prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running CVAP data prep do file"
{res}{err}running CVAP data prep do file
{com}.     quietly do "do_files/prep_CVAP_data/CVAP_data_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran CVAP replication prep, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. * NOTE: Coefficients differ slightly from original appendix
. 
. eststo, title(Latina CVAP): quietly probit ballot_newlatwpres latcvappct stateyear_inclatpct afamcvappct asamcvappct   tlimit  legprof  distrepubstr  openelect  multimem  candperseat  educcolldeg unemppct 
{txt}({res}est1{txt} stored)

{com}. 
. eststo, title(Latino CVAP): quietly probit ballot_newlatmpres latcvappct  stateyear_inclatpct afamcvappct asamcvappct  tlimit  legprof  distrepubstr  openelect  multimem  candperseat  educcolldeg unemppct
{txt}({res}est2{txt} stored)

{com}. 
. estout, cells(b(star fmt(3)) se(par fmt(2))) legend label varlabels(_cons constant) stats(N, fmt(0) label(N))
{res}
{txt}{hline 52}
{txt}                      Latina CVAP     Latino CVAP   
{txt}                             b/se            b/se   
{txt}{hline 52}
{res}main                                                {txt}
{txt}(max) latcvappct    {res}        2.596***        3.253***{txt}
                    {res}       (0.18)          (0.14)   {txt}
{txt}stateyear_inclatpct {res}        0.125           0.216   {txt}
                    {res}       (0.32)          (0.22)   {txt}
{txt}(max) afamcvappct   {res}       -0.072          -0.080   {txt}
                    {res}       (0.24)          (0.17)   {txt}
{txt}(max) asamcvappct   {res}        1.033*          0.512   {txt}
                    {res}       (0.40)          (0.33)   {txt}
{txt}(max) tlimit        {res}        0.241***        0.059   {txt}
                    {res}       (0.06)          (0.05)   {txt}
{txt}(max) legprof       {res}        0.057           0.303*  {txt}
                    {res}       (0.21)          (0.15)   {txt}
{txt}(max) distrepubstr  {res}        0.091           0.092   {txt}
                    {res}       (0.12)          (0.09)   {txt}
{txt}(max) openelect     {res}        0.533***        0.464***{txt}
                    {res}       (0.06)          (0.04)   {txt}
{txt}(max) multimem      {res}        0.180          -0.100   {txt}
                    {res}       (0.11)          (0.08)   {txt}
{txt}(sum) candidate_du~y{res}        0.195***        0.289***{txt}
                    {res}       (0.03)          (0.02)   {txt}
{txt}(max) educcolldeg   {res}        0.467           0.382   {txt}
                    {res}       (0.28)          (0.20)   {txt}
{txt}(max) unemppct      {res}        0.030*          0.027** {txt}
                    {res}       (0.01)          (0.01)   {txt}
{txt}constant            {res}       -3.907***       -3.655***{txt}
                    {res}       (0.18)          (0.13)   {txt}
{txt}{hline 52}
{txt}N                   {res}        27765           27765   {txt}
{txt}{hline 52}
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. 
. * clear eststo for displaying future tables
. eststo clear
{txt}
{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. 
{txt}end of do-file

{com}. **************************************************
. ********* Table A7.1: State Fixed Effects ********
. **************************************************
. 
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
{res}{err}Got filename: , loading GRACE data set and replacing existing data set
{com}.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
{res}{err}running GRACE data prep do file
{com}.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. do "do_files/prep_GRACE_data/ballot_level_prep.do"
{txt}
{com}. * here we check whether we have already run the code for generating the ballot level data
. * we do this by looking for the ballot_latwpres variable
. capture confirm variable ballot_latwpres
{txt}
{com}. if _rc {c -(}
.     di in red "running ballot level prep do file"
{res}{err}running ballot level prep do file
{com}.     quietly do "do_files/prep_GRACE_data/generate_ballot_level_data.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran ballot level prep do file, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. ///*** state year fixed effects models ***///
> eststo, title(Latina): quietly probit ballot_newlatwpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct  i.v03 
{txt}({res}est1{txt} stored)

{com}. 
. eststo, title(Latino): quietly probit ballot_newlatmpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct i.v03
{txt}({res}est2{txt} stored)

{com}. 
. estout, cells(b(star fmt(3)) se(par fmt(2))) legend label varlabels(_cons constant) stats( N, fmt(0) label(N))
{res}
{txt}{hline 52}
{txt}                           Latina          Latino   
{txt}                             b/se            b/se   
{txt}{hline 52}
{res}main                                                {txt}
{txt}(max) afampoppct    {res}        1.643***        2.223***{txt}
                    {res}       (0.34)          (0.23)   {txt}
{txt}(max) asampoppct    {res}        3.190***        2.947***{txt}
                    {res}       (0.57)          (0.40)   {txt}
{txt}(max) latpoppct     {res}        4.024***        5.129***{txt}
                    {res}       (0.29)          (0.21)   {txt}
{txt}(max) tlimit        {res}        0.316           0.157   {txt}
                    {res}       (0.23)          (0.17)   {txt}
{txt}(max) legprof       {res}        0.013          -1.317   {txt}
                    {res}       (1.49)          (1.50)   {txt}
{txt}(max) distrepubstr  {res}       -0.091           0.120   {txt}
                    {res}       (0.18)          (0.12)   {txt}
{txt}(max) openelect     {res}        0.823***        0.865***{txt}
                    {res}       (0.07)          (0.05)   {txt}
{txt}(max) multimem      {res}        0.063          -0.170   {txt}
                    {res}       (0.22)          (0.17)   {txt}
{txt}(sum) candidate_du~y{res}        0.307***        0.446***{txt}
                    {res}       (0.04)          (0.03)   {txt}
{txt}(max) allincfmt     {res}        0.004           0.003   {txt}
                    {res}       (0.00)          (0.00)   {txt}
{txt}(max) educcolldeg   {res}       -0.855          -0.467   {txt}
                    {res}       (0.47)          (0.32)   {txt}
{txt}(max) unemppct      {res}       -0.013*         -0.013*  {txt}
                    {res}       (0.01)          (0.00)   {txt}
{txt}stateyear_inclatpct {res}       -1.253           0.238   {txt}
                    {res}       (1.19)          (0.95)   {txt}
{txt}(max) v03=1         {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=2         {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=4         {res}        0.236          -0.521   {txt}
                    {res}       (0.42)          (0.30)   {txt}
{txt}(max) v03=5         {res}        0.000          -0.830   {txt}
                    {res}          (.)          (0.58)   {txt}
{txt}(max) v03=6         {res}        0.055          -0.031   {txt}
                    {res}       (0.80)          (0.63)   {txt}
{txt}(max) v03=8         {res}        0.156          -0.198   {txt}
                    {res}       (0.41)          (0.33)   {txt}
{txt}(max) v03=9         {res}        0.626           0.026   {txt}
                    {res}       (0.36)          (0.29)   {txt}
{txt}(max) v03=10        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=12        {res}        0.010          -0.418   {txt}
                    {res}       (0.41)          (0.32)   {txt}
{txt}(max) v03=13        {res}        0.000          -0.432   {txt}
                    {res}          (.)          (0.40)   {txt}
{txt}(max) v03=15        {res}       -0.260          -0.046   {txt}
                    {res}       (0.49)          (0.33)   {txt}
{txt}(max) v03=16        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=17        {res}        0.280          -0.598   {txt}
                    {res}       (0.39)          (0.35)   {txt}
{txt}(max) v03=18        {res}        0.000          -0.103   {txt}
                    {res}          (.)          (0.43)   {txt}
{txt}(max) v03=19        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=20        {res}        0.276          -0.409   {txt}
                    {res}       (0.46)          (0.42)   {txt}
{txt}(max) v03=21        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=23        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=24        {res}       -0.012          -0.776*  {txt}
                    {res}       (0.48)          (0.36)   {txt}
{txt}(max) v03=25        {res}       -0.194           0.013   {txt}
                    {res}       (0.62)          (0.39)   {txt}
{txt}(max) v03=26        {res}        0.035          -0.199   {txt}
                    {res}       (0.48)          (0.34)   {txt}
{txt}(max) v03=27        {res}        0.000          -0.016   {txt}
                    {res}          (.)          (0.38)   {txt}
{txt}(max) v03=28        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=29        {res}        0.302          -0.525   {txt}
                    {res}       (0.44)          (0.46)   {txt}
{txt}(max) v03=30        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=31        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=32        {res}       -0.173          -0.751   {txt}
                    {res}       (0.45)          (0.40)   {txt}
{txt}(max) v03=33        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=34        {res}        0.356          -0.154   {txt}
                    {res}       (0.40)          (0.26)   {txt}
{txt}(max) v03=35        {res}        0.770          -0.191   {txt}
                    {res}       (0.66)          (0.57)   {txt}
{txt}(max) v03=36        {res}       -0.138           0.129   {txt}
                    {res}       (0.53)          (0.38)   {txt}
{txt}(max) v03=37        {res}        0.293           0.000   {txt}
                    {res}       (0.45)             (.)   {txt}
{txt}(max) v03=38        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=39        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=40        {res}        0.000          -0.865   {txt}
                    {res}          (.)          (0.57)   {txt}
{txt}(max) v03=41        {res}        0.000          -0.605   {txt}
                    {res}          (.)          (0.53)   {txt}
{txt}(max) v03=42        {res}        0.057           0.203   {txt}
                    {res}       (0.49)          (0.28)   {txt}
{txt}(max) v03=44        {res}       -0.140          -0.442   {txt}
                    {res}       (0.45)          (0.38)   {txt}
{txt}(max) v03=45        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=46        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=47        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=48        {res}        0.121          -0.518   {txt}
                    {res}       (0.42)          (0.34)   {txt}
{txt}(max) v03=49        {res}        0.000          -1.157   {txt}
                    {res}          (.)          (0.66)   {txt}
{txt}(max) v03=50        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=51        {res}        0.000          -0.061   {txt}
                    {res}          (.)          (0.40)   {txt}
{txt}(max) v03=53        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=54        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=55        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}(max) v03=56        {res}        0.000           0.000   {txt}
                    {res}          (.)             (.)   {txt}
{txt}constant            {res}       -5.169***       -4.835***{txt}
                    {res}       (0.56)          (0.55)   {txt}
{txt}{hline 52}
{txt}N                   {res}        27032           36408   {txt}
{txt}{hline 52}
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. 
. * clear eststo for displaying future tables
. eststo clear
{txt}
{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. 
{txt}end of do-file

{com}. **************************************************
. ********* Table A7.2: Clustered Standard *********
. ********* Errors, by state ***********************
. **************************************************
. 
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
{res}{err}Got filename: , loading GRACE data set and replacing existing data set
{com}.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
{res}{err}running GRACE data prep do file
{com}.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. do "do_files/prep_GRACE_data/ballot_level_prep.do"
{txt}
{com}. * here we check whether we have already run the code for generating the ballot level data
. * we do this by looking for the ballot_latwpres variable
. capture confirm variable ballot_latwpres
{txt}
{com}. if _rc {c -(}
.     di in red "running ballot level prep do file"
{res}{err}running ballot level prep do file
{com}.     quietly do "do_files/prep_GRACE_data/generate_ballot_level_data.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran ballot level prep do file, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. ///****clustered standard errors by state, and years models****///
> eststo, title(Latina): quietly probit ballot_newlatwpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct, cluster(v03)
{txt}({res}est1{txt} stored)

{com}. eststo, title(Latino): quietly probit ballot_newlatmpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct, cluster(v03)
{txt}({res}est2{txt} stored)

{com}. 
. estout, cells(b(star fmt(3)) se(par fmt(2))) legend label varlabels(_cons constant) stats( N, fmt(0) label(N))
{res}
{txt}{hline 52}
{txt}                           Latina          Latino   
{txt}                             b/se            b/se   
{txt}{hline 52}
{res}main                                                {txt}
{txt}(max) afampoppct    {res}        1.842***        2.378***{txt}
                    {res}       (0.24)          (0.30)   {txt}
{txt}(max) asampoppct    {res}        2.933***        3.267***{txt}
                    {res}       (0.22)          (0.24)   {txt}
{txt}(max) latpoppct     {res}        4.043***        5.034***{txt}
                    {res}       (0.26)          (0.19)   {txt}
{txt}(max) tlimit        {res}        0.208**        -0.078   {txt}
                    {res}       (0.07)          (0.10)   {txt}
{txt}(max) legprof       {res}       -0.147           0.088   {txt}
                    {res}       (0.15)          (0.24)   {txt}
{txt}(max) distrepubstr  {res}       -0.034           0.285   {txt}
                    {res}       (0.26)          (0.26)   {txt}
{txt}(max) openelect     {res}        0.825***        0.852***{txt}
                    {res}       (0.10)          (0.09)   {txt}
{txt}(max) multimem      {res}        0.368*          0.107   {txt}
                    {res}       (0.17)          (0.26)   {txt}
{txt}(sum) candidate_du~y{res}        0.194***        0.249***{txt}
                    {res}       (0.04)          (0.05)   {txt}
{txt}(max) allincfmt     {res}        0.004           0.002   {txt}
                    {res}       (0.00)          (0.00)   {txt}
{txt}(max) educcolldeg   {res}       -0.771*         -0.225   {txt}
                    {res}       (0.37)          (0.25)   {txt}
{txt}(max) unemppct      {res}       -0.011*         -0.011*  {txt}
                    {res}       (0.01)          (0.01)   {txt}
{txt}stateyear_inclatpct {res}        0.270           0.530   {txt}
                    {res}       (0.33)          (0.45)   {txt}
{txt}constant            {res}       -5.006***       -5.065***{txt}
                    {res}       (0.20)          (0.22)   {txt}
{txt}{hline 52}
{txt}N                   {res}        56351           56351   {txt}
{txt}{hline 52}
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. 
. * clear eststo for displaying future tables
. eststo clear
{txt}
{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
{txt}end of do-file

{com}. **************************************************
. ********* Table A7.3: Probit Regression Cross ****
. ********* Sectional Models ***********************
. **************************************************
. 
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
{res}{err}Got filename: , loading GRACE data set and replacing existing data set
{com}.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
{res}{err}running GRACE data prep do file
{com}.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. do "do_files/prep_GRACE_data/ballot_level_prep.do"
{txt}
{com}. * here we check whether we have already run the code for generating the ballot level data
. * we do this by looking for the ballot_latwpres variable
. capture confirm variable ballot_latwpres
{txt}
{com}. if _rc {c -(}
.     di in red "running ballot level prep do file"
{res}{err}running ballot level prep do file
{com}.     quietly do "do_files/prep_GRACE_data/generate_ballot_level_data.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran ballot level prep do file, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. 
. ***final evidence that time isn't a big deal is set of cross sections****
. **another is to show cross section results***
. eststo, title(1990s): quietly probit ballot_newlatwpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct if v05<=2000
{txt}({res}est1{txt} stored)

{com}. 
. eststo, title(2000s): quietly probit ballot_newlatwpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct if v05==2001 |v05==2002 |  v05==2003 | v05==2004 | v05==2005 | v05==2006 | v05==2007 | v05==2008 | v05==2009 | v05==2010
{txt}({res}est2{txt} stored)

{com}. 
. eststo, title(2010s): quietly probit ballot_newlatwpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct if v05>2010
{txt}({res}est3{txt} stored)

{com}. 
. 
. ***//now a set of cross sections for latinos to show gap persists***///
. 
. eststo, title(1990s): quietly probit ballot_newlatmpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct if v05<=2000
{txt}({res}est4{txt} stored)

{com}. 
. eststo, title(2000s): quietly probit ballot_newlatmpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct  stateyear_inclatpct if v05==2001 |v05==2002 |  v05==2003 | v05==2004 | v05==2005 | v05==2006 | v05==2007 | v05==2008 | v05==2009 | v05==2010
{txt}({res}est5{txt} stored)

{com}. 
. eststo, title(2000s): quietly probit ballot_newlatmpresMMD  afampoppct asampoppct latpoppct    tlimit  legprof  distrepubstr  openelect  multimem  candperseat allincfmt educcolldeg unemppct stateyear_inclatpct if v05>2010
{txt}({res}est6{txt} stored)

{com}. 
. estout, cells(b(star fmt(3)) se(par fmt(2))) legend label varlabels(_cons constant) stats(N, fmt(0) label(N)) mgroups("Latinas" "Latinos", pattern(1 0 0 1 0 0))
{res}
{txt}{hline 116}
{txt}                          Latinas                                         Latinos                                   
{txt}                            1990s           2000s           2010s           1990s           2000s           2000s   
{txt}                             b/se            b/se            b/se            b/se            b/se            b/se   
{txt}{hline 116}
{res}main                                                                                                                {txt}
{txt}(max) afampoppct    {res}        1.585**         1.699***        2.181***        1.983***        2.159***        2.874***{txt}
                    {res}       (0.53)          (0.40)          (0.60)          (0.42)          (0.28)          (0.41)   {txt}
{txt}(max) asampoppct    {res}        1.629           3.465***        4.139***        3.194***        3.093***        4.310***{txt}
                    {res}       (0.84)          (0.56)          (0.85)          (0.45)          (0.45)          (0.57)   {txt}
{txt}(max) latpoppct     {res}        3.687***        4.049***        4.754***        4.756***        5.053***        5.492***{txt}
                    {res}       (0.43)          (0.31)          (0.51)          (0.36)          (0.24)          (0.36)   {txt}
{txt}(max) tlimit        {res}        0.163           0.342**         0.061          -0.260          -0.104           0.004   {txt}
                    {res}       (0.19)          (0.12)          (0.16)          (0.17)          (0.09)          (0.11)   {txt}
{txt}(max) legprof       {res}        0.474          -1.102**         0.410           0.217           0.338          -0.292   {txt}
                    {res}       (0.46)          (0.35)          (0.43)          (0.37)          (0.24)          (0.31)   {txt}
{txt}(max) distrepubstr  {res}        0.145           0.119          -0.384           0.562*          0.284           0.273   {txt}
                    {res}       (0.33)          (0.21)          (0.28)          (0.24)          (0.16)          (0.18)   {txt}
{txt}(max) openelect     {res}        1.008***        0.845***        0.695***        0.991***        0.908***        0.688***{txt}
                    {res}       (0.15)          (0.10)          (0.14)          (0.12)          (0.08)          (0.10)   {txt}
{txt}(max) multimem      {res}        0.241           0.124           0.750***        0.055           0.122           0.053   {txt}
                    {res}       (0.32)          (0.21)          (0.21)          (0.29)          (0.15)          (0.19)   {txt}
{txt}(sum) candidate_du~y{res}        0.182***        0.236***        0.203***        0.224***        0.290***        0.257***{txt}
                    {res}       (0.04)          (0.04)          (0.04)          (0.03)          (0.03)          (0.03)   {txt}
{txt}(max) allincfmt     {res}        0.005           0.011          -0.003          -0.002          -0.005           0.003   {txt}
                    {res}       (0.01)          (0.01)          (0.01)          (0.01)          (0.00)          (0.00)   {txt}
{txt}(max) educcolldeg   {res}       -1.953*         -1.041           1.080          -0.497           1.024*          0.114   {txt}
                    {res}       (0.97)          (0.67)          (1.22)          (0.82)          (0.46)          (0.83)   {txt}
{txt}(max) unemppct      {res}       -1.840           0.028          -0.016           2.673           0.004          -0.006   {txt}
                    {res}       (2.99)          (0.02)          (0.03)          (2.29)          (0.01)          (0.02)   {txt}
{txt}stateyear_inclatpct {res}        1.078           0.452          -0.117           1.237**         0.070           0.695   {txt}
                    {res}       (0.62)          (0.47)          (0.68)          (0.46)          (0.32)          (0.43)   {txt}
{txt}constant            {res}       -4.551***       -5.506***       -5.636***       -5.029***       -5.383***       -5.338***{txt}
                    {res}       (0.56)          (0.43)          (0.53)          (0.48)          (0.31)          (0.35)   {txt}
{txt}{hline 116}
{txt}N                   {res}        17172           27123           12056           17172           27123           12056   {txt}
{txt}{hline 116}
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. 
. * clear eststo for displaying future tables
. eststo clear
{txt}
{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. 
{txt}end of do-file

{com}. **************************************************
. ********* Table A8: Latina/o and Non-White *******
. ********* Incumbents by State ********************
. **************************************************
. 
. ssc install unique
{txt}checking {hilite:unique} consistency and verifying not already installed...
all files already exist and are up to date.

{com}. 
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
{res}{err}Got filename: , loading GRACE data set and replacing existing data set
{com}.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
{res}{err}running GRACE data prep do file
{com}.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. mat table_A8 = J(49,4,0)
{txt}
{com}. local j = 1
{txt}
{com}. quietly levelsof v02
{txt}
{com}. foreach state in `r(levels)' {c -(}
{txt}  2{com}.   di "processing state: `state'"
{txt}  3{com}.   
.   quietly unique graceuniqid if basket_white!=1 & v22==1 & v02=="`state'"
{txt}  4{com}.   mat table_A8[`j',3] = r(unique)
{txt}  5{com}.   
.   quietly unique graceuniqid if basket_white!=1 & v22==1 & basket_women==0 & v02=="`state'"
{txt}  6{com}.   if r(unique) / table_A8[`j',3] == .{c -(}
{txt}  7{com}.     mat table_A8[`j',4] = 0  
{txt}  8{com}.   {c )-} 
{txt}  9{com}.   else {c -(}
{txt} 10{com}.     mat table_A8[`j',4] = r(unique) / table_A8[`j',3]
{txt} 11{com}.   {c )-}
{txt} 12{com}.   
.   quietly unique graceuniqid if basket_lat==1 & v22==1 & v02=="`state'"
{txt} 13{com}.   mat table_A8[`j',1] = r(unique)
{txt} 14{com}. 
.   quietly unique graceuniqid if basket_latm==1 & v22==1 & v02=="`state'"
{txt} 15{com}.   if r(unique) / table_A8[`j',1] == . {c -(}
{txt} 16{com}.     mat table_A8[`j',2] = 0  
{txt} 17{com}.   {c )-} 
{txt} 18{com}.   else {c -(}
{txt} 19{com}.     mat table_A8[`j',2] = r(unique) / table_A8[`j',1]
{txt} 20{com}.   {c )-}
{txt} 21{com}.   
.   
.   local ++ j
{txt} 22{com}. {c )-}
processing state: AK
processing state: AL
processing state: AR
processing state: AZ
processing state: CA
processing state: CO
processing state: CT
processing state: DE
processing state: FL
processing state: GA
processing state: HI
processing state: IA
processing state: ID
processing state: IL
processing state: IN
processing state: KS
processing state: KY
processing state: MA
processing state: MD
processing state: ME
processing state: MI
processing state: MN
processing state: MO
processing state: MS
processing state: MT
processing state: NC
processing state: ND
processing state: NE
processing state: NH
processing state: NJ
processing state: NM
processing state: NV
processing state: NY
processing state: OH
processing state: OK
processing state: OR
processing state: PA
processing state: RI
processing state: SC
processing state: SD
processing state: TN
processing state: TX
processing state: UT
processing state: VA
processing state: VT
processing state: WA
processing state: WI
processing state: WV
processing state: WY
{txt}
{com}. 
. quietly levelsof v02
{txt}
{com}. mat rownames table_A8 = `r(levels)'
{txt}
{com}. mat colnames table_A8 = "Latx incumbents" "Male prop latx incumbents" "Nonwht incumbents" "Male prop nonwht incumbents" 
{txt}
{com}. esttab matrix(table_A8)
{res}
{txt}{hline 64}
{txt}                 table_A8                                       
{txt}             Latx incum~s Male prop ~s Nonwht inc~s Male prop ~s
{txt}{hline 64}
{txt}AK          {res}            0            0            2           .5{txt}
{txt}AL          {res}            0            0           73     .7671233{txt}
{txt}AR          {res}            1            1           46     .7173913{txt}
{txt}AZ          {res}           34     .7058824           42     .6666667{txt}
{txt}CA          {res}           76     .6710526          122     .6803279{txt}
{txt}CO          {res}           29     .5862069           42     .6666667{txt}
{txt}CT          {res}           30           .8           58     .7758621{txt}
{txt}DE          {res}            3            1           15     .6666667{txt}
{txt}FL          {res}           53     .8867925          119     .7226891{txt}
{txt}GA          {res}            4            1          120         .575{txt}
{txt}HI          {res}            2           .5          128      .734375{txt}
{txt}IA          {res}            0            0            7     .2857143{txt}
{txt}ID          {res}            3     .6666667            8         .375{txt}
{txt}IL          {res}           20           .6           75           .6{txt}
{txt}IN          {res}            5           .4           22     .5454545{txt}
{txt}KS          {res}           10           .8           24         .625{txt}
{txt}KY          {res}            0            0           10           .9{txt}
{txt}MA          {res}           12     .8333333           26     .6153846{txt}
{txt}MD          {res}            6     .6666667           66     .5454545{txt}
{txt}ME          {res}            1            0            2           .5{txt}
{txt}MI          {res}            9     .6666667           60     .7333333{txt}
{txt}MN          {res}            5           .6           16         .625{txt}
{txt}MO          {res}            5           .8           53     .5471698{txt}
{txt}MS          {res}            1            1           63     .6666667{txt}
{txt}MT          {res}            2           .5            5           .6{txt}
{txt}NC          {res}            4           .5           67     .7014925{txt}
{txt}ND          {res}            1            1            1            1{txt}
{txt}NE          {res}            1            1            4           .5{txt}
{txt}NH          {res}            8          .75           24     .5833333{txt}
{txt}NJ          {res}           17     .4117647           50          .58{txt}
{txt}NM          {res}           88     .7272727           93     .7096774{txt}
{txt}NV          {res}           13     .5384615           24     .6666667{txt}
{txt}NY          {res}           29     .7931034           89     .6966292{txt}
{txt}OH          {res}            7     .5714286           54     .5925926{txt}
{txt}OK          {res}            1            1           12     .6666667{txt}
{txt}OR          {res}            6           .5           13     .3846154{txt}
{txt}PA          {res}            4          .75           36     .6944444{txt}
{txt}RI          {res}            5           .8           17     .5882353{txt}
{txt}SC          {res}            1            0           66     .7878788{txt}
{txt}SD          {res}            0            0            1            1{txt}
{txt}TN          {res}            2           .5           31     .5483871{txt}
{txt}TX          {res}           86      .744186          118     .7118644{txt}
{txt}UT          {res}            7     .4285714           10           .6{txt}
{txt}VA          {res}            2            1           36     .5833333{txt}
{txt}VT          {res}            2           .5            6     .6666667{txt}
{txt}WA          {res}            6     .1666667           21     .5238095{txt}
{txt}WI          {res}            2           .5           16        .5625{txt}
{txt}WV          {res}            1            1            8          .75{txt}
{txt}WY          {res}            2            1            3            1{txt}
{txt}{hline 64}

{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. 
{txt}end of do-file

{com}. **************************************************
. ********* Figure A9.1: Distribution of Latina and* 
. ********* Latino Candidates Post Redistricting:***
. ********* 2000 and 2010***************************
. **************************************************
. 
. do "do_files/prep_GRACE_data/load_prep_GRACE_data.do"
{txt}
{com}. **************************************************
. ************ LOAD AND PREP GRACE DATA ************
. **************************************************
. * get the name of the current data file in memory
. _getfilename "`c(filename)'"
{txt}
{com}. local GRACE_data_set = "GRACE_JOP_Replication_7_28_22.dta"
{txt}
{com}. * if it doesn't match the GRACE data set, load the GRACE data
. if "`r(filename)'" != "`GRACE_data_set'"{c -(}
.     di in red "Got filename: `r(filename)', loading GRACE data set and replacing existing data set"
.     use "data_files/GRACE_JOP_Replication_7_28_22.dta", replace
. {c )-}
{txt}
{com}. 
. * now we check whether we have already run the necessary replication prep code
. * we do this by looking for the ballot_mmd variable
. * if it doesn't exist, run GRACE prep
. capture confirm variable ballot_mmd
{txt}
{com}. if _rc {c -(}
.     di in red "running GRACE data prep do file"
.     * needed for reproducing results for table 2
.     set sortseed 1234
.     quietly do "do_files/prep_GRACE_data/replication_prep.do"
. {c )-}
{txt}
{com}. else {c -(}
.     di in red "already ran replication prep, continuing with the rest of the file"
{res}{err}already ran replication prep, continuing with the rest of the file
{com}. {c )-} 
{txt}
{com}. 
{txt}end of do-file

{com}. 
. ***latx gender categorical variable for using spineplot command***
. gen latx=1 if basket_latw==1
{txt}(109,954 missing values generated)

{com}. replace latx=2 if basket_latm==1
{txt}(2,549 real changes made)

{com}. replace latx=0 if latx==.
{txt}(107,405 real changes made)

{com}. 
. 
. * plot a spineplot for each round of redistricting, 
. * type of district on the y axis and latx on the x axis.
. set scheme plotplain
{txt}
{com}. 
. by latxonballot_2000g5  latx, sort: gen Q0 = _N
{txt}
{com}. spineplot latxonballot_2000g5 latx if postred2000==1, text(Q0) title(Latina/os on Ballots Post 2000 Redistricting) yla(none) ytitle("") ysc(noline) xtitle("") xsc(noline)
{res}{txt}
{com}. 
. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
. 
. by latxonballot_2010g5  latx, sort: gen Q = _N
{txt}
{com}. spineplot latxonballot_2010g5 latx if postred2010==1, text(Q) title(Latina/os on Ballots Post 2010 Redistricting) 
{res}{txt}
{com}. * pausing for users who might be looping through all replication files
. pause
{txt}pause:  
{com}-> . q
{txt}execution resumes...

{com}. 
{txt}end of do-file

{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/cdp/Dropbox/Research/GRACE post NTR Work/Latino pops article/revival/PV JOP MMD replication files/GRACE_replication_files/CDPhillips Replication Log JOP 07282022.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}28 Jul 2022, 16:09:22
{txt}{.-}
{smcl}
{txt}{sf}{ul off}